package com.wicket.okrapp.biz.service.impl;

import cn.hutool.core.bean.BeanUtil;
import com.wicket.okrapp.biz.service.dto.req.*;
import com.wicket.okrapp.biz.service.dto.res.*;
import com.wicket.okrapp.common.util.CommonFunctionHelper;
import com.wicket.okrapp.common.util.RedisUtil;
import java.util.List;
import java.util.stream.Collectors;
import javax.annotation.Resource;

import com.wicket.okrframework.integration.dto.*;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;
import cn.hutool.core.collection.CollectionUtil;
import com.wicket.okrapp.common.exception.Assert;
import com.wicket.okrframework.integration.FwBaseMemberClient;
import com.wicket.okrapp.base.service.MOmsVirtualOrgMemberService;
import com.wicket.okrapp.dal.po.mbg.OmsVirtualOrgMember;
import com.wicket.okrapp.base.service.dto.req.QueryVirtualOrgMemberListReq;
import com.wicket.okrapp.base.service.dto.common.VirtualOrgMemberDto;
import com.wicket.okrcomponent.integration.dto.ImplementDataSetDuplicateRemovalComRespDto;
import com.wicket.okrcomponent.integration.dto.ImplementDataSetDuplicateRemovalComReqDto;
import com.wicket.okrapp.biz.service.nb.NbSmallCircleCommon;
import com.wicket.okrcomponent.integration.FwCompInterfaceModeClient;
import com.wicket.okrapp.base.service.MOmsVirtualOrgMemberDeptService;
import com.wicket.okrapp.dal.po.mbg.OmsVirtualOrgMemberDept;
import com.wicket.okrapp.base.service.dto.req.QueryVirtualOrgMemberDeptListReq;
import com.wicket.okrapp.base.service.dto.common.VirtualOrgMemberDeptDto;
import com.wicket.okrapp.base.service.MOmsEvaBatchRelatedSetService;
import com.wicket.okrframework.base.service.dto.req.DeptDto;
import com.wicket.okrframework.integration.FwBaseOrgClient;
import com.wicket.okrapp.biz.service.DashboardTargetContentService;
import com.wicket.okrframework.integration.FwBaseInductionRecordClient;
import com.wicket.okrframework.integration.FwBaseDashboardOrgClient;
import com.wicket.okrframework.integration.FwBaseUserClient;
import com.wicket.okrapp.base.service.dto.req.BatchQuerySmallCircleByEntityIdReq;
import com.wicket.okrcomponent.integration.dto.ImplementManyFieldsDataSetDuplicateRemovalComRespDto;
import com.wicket.okrcomponent.integration.dto.ImplementManyFieldsDataSetDuplicateRemovalComReqDto;
import com.wicket.okrcomponent.integration.dto.DataSetDuplicateRemovalDto;
import com.wicket.okrapp.base.service.dto.req.BatchQueryVirtualOrgMemberDeptByContIdReq;
import com.wicket.okrapp.biz.service.IndexSystemService;
import com.wicket.okrapp.biz.service.TargetCalcService;
import com.wicket.okrapp.biz.service.AchievementDockService;
import com.wicket.okrapp.base.service.dto.req.QueryTargetContDeptSmallCircleDetailReq;
import com.wicket.okrapp.base.service.dto.req.QueryTargetContMemberSmallCircleDetailReq;
import com.wicket.okrapp.base.service.MOmsTargetObjectiveService;
import com.wicket.okrapp.dal.po.mbg.OmsTargetObjective;
import com.wicket.okrapp.base.service.dto.req.QueryTargetObjDetailReq;
import com.wicket.okrapp.base.service.MOmsTargetObjectivePlanExtendService;
import com.wicket.okrapp.dal.po.mbg.OmsTargetObjectivePlanExtend;
import com.wicket.okrapp.base.service.dto.req.QueryTargetObjPlanExDetailReq;
import com.wicket.okrframework.integration.FwBaseSystemTestDomainClient;
import com.wicket.okrapp.base.service.dto.req.QueryTargetContDeptSmallCircleListReq;
import com.wicket.okrapp.base.service.MOmsEvaluationObjectTargetCycleService;
import com.wicket.okrapp.base.service.MOmsExecuteCycleStageService;
import com.wicket.okrapp.biz.service.VirtualOrgService;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@Service
public class SmallCircleCommonServiceImpl
  implements com.wicket.okrapp.biz.service.SmallCircleCommonService {

  @Resource
  private RedisUtil redisUtil;
@Resource
  private FwBaseMemberClient fwBaseMemberClient;
@Resource
  private MOmsVirtualOrgMemberService mOmsVirtualOrgMemberService;
//@Resource
 //private MCustomFields5Service mCustomFields5Service;
@Resource
  private NbSmallCircleCommon nbSmallCircleCommon;
@Resource
  private FwCompInterfaceModeClient fwCompInterfaceModeClient;
@Resource
  private MOmsVirtualOrgMemberDeptService mOmsVirtualOrgMemberDeptService;
@Resource
  private MOmsEvaBatchRelatedSetService mOmsEvaBatchRelatedSetService;
@Resource
  private FwBaseOrgClient fwBaseOrgClient;
@Resource
  private DashboardTargetContentService dashboardTargetContentService;
@Resource
  private FwBaseInductionRecordClient fwBaseInductionRecordClient;
@Resource
  private FwBaseDashboardOrgClient fwBaseDashboardOrgClient;
@Resource
  private FwBaseUserClient fwBaseUserClient;
@Resource
  private IndexSystemService indexSystemService;
@Resource
  private TargetCalcService targetCalcService;
@Resource
  private AchievementDockService achievementDockService;
@Resource
  private MOmsTargetObjectiveService mOmsTargetObjectiveService;
@Resource
  private MOmsTargetObjectivePlanExtendService mOmsTargetObjectivePlanExtendService;
@Resource
  private FwBaseSystemTestDomainClient fwBaseSystemTestDomainClient;
@Resource
  private MOmsEvaluationObjectTargetCycleService mOmsEvaluationObjectTargetCycleService;
@Resource
  private MOmsExecuteCycleStageService mOmsExecuteCycleStageService;
@Resource
  private VirtualOrgService virtualOrgService;
/**
   * B3查询虚拟组织下的人员列表(管理)[8824]
   * gen by moon at 3/27/2024, 8:22:16 PM
   */
  @Trace(operationName = "B3查询虚拟组织下的人员列表(管理)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryPersopnOfVirtualOrgListRespDto queryPersopnOfVirtualOrgList(QueryPersopnOfVirtualOrgListReqDto reqDto){
    
      
      QueryIdentitySmallCircleListComRespDto queryIdentitySmallCircleListComRespDto_1 =null;
BatchQueryMemberProfileListByIdsComRespDto batchQueryMemberProfileListByIdsComRespDto_1 =null;
//步骤0: D3查询我身份所在小圈子列表(公共) - queryIdentitySmallCircleListCom
     QueryIdentitySmallCircleListComRespDto queryIdentitySmallCircleListComRespDto = null;
    QueryIdentitySmallCircleListComReqDto queryIdentitySmallCircleListComReqDto=new QueryIdentitySmallCircleListComReqDto();
  queryIdentitySmallCircleListComReqDto.setIsDisplay("TRUE");//sourceId:1660537_1
queryIdentitySmallCircleListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1660538_1
if(reqDto!=null){
      queryIdentitySmallCircleListComReqDto.setVirtualOrgId(reqDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1660542_1
    }
  
    /*D3查询我身份所在小圈子列表(公共)[8803]   */
    Assert.isNull(queryIdentitySmallCircleListComReqDto.getVirtualOrgId(),"B3查询虚拟组织下的人员列表(管理)-D3查询我身份所在小圈子列表(公共)-虚拟组织ID不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getIsDisplay(),"B3查询虚拟组织下的人员列表(管理)-D3查询我身份所在小圈子列表(公共)-是否外部展示不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getSubjectLifeCycle(),"B3查询虚拟组织下的人员列表(管理)-D3查询我身份所在小圈子列表(公共)-主体生命周期不能为空",false);
      queryIdentitySmallCircleListComRespDto = queryIdentitySmallCircleListCom(queryIdentitySmallCircleListComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      queryIdentitySmallCircleListComRespDto_1 = queryIdentitySmallCircleListComRespDto;
    
//步骤1: D1批量查成员个人资料列表(公共) - batchQueryMemberProfileListByIdsCom
     BatchQueryMemberProfileListByIdsComRespDto batchQueryMemberProfileListByIdsComRespDto = null;
    if(queryIdentitySmallCircleListComRespDto !=null){
          BatchQueryMemberProfileListByIdsComReqDto batchQueryMemberProfileListByIdsComReqDto=new BatchQueryMemberProfileListByIdsComReqDto();
  if(queryIdentitySmallCircleListComRespDto!= null&&  queryIdentitySmallCircleListComRespDto.getVirtualOrgMemberList() !=null&& !CollectionUtil.isEmpty(queryIdentitySmallCircleListComRespDto.getVirtualOrgMemberList())){
      batchQueryMemberProfileListByIdsComReqDto.setBeginMemberList(queryIdentitySmallCircleListComRespDto.getVirtualOrgMemberList().stream().map(item->item.getOriginalRoleMemberId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1660547_1
    }
  
    /*D1批量查成员个人资料列表(公共)[7492]   */
    
      batchQueryMemberProfileListByIdsComRespDto = fwBaseMemberClient.batchQueryMemberProfileListByIdsCom(batchQueryMemberProfileListByIdsComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      batchQueryMemberProfileListByIdsComRespDto_1 = batchQueryMemberProfileListByIdsComRespDto;
           }
    
QueryPersopnOfVirtualOrgListRespDto retData = new QueryPersopnOfVirtualOrgListRespDto();
  //数据集融合  MoreListToOneSource
        if(queryIdentitySmallCircleListComRespDto_1!= null && !CollectionUtil.isEmpty(queryIdentitySmallCircleListComRespDto_1.getVirtualOrgMemberList()) ){
          for (VirtualOrgMemberDto virtualOrgMemberDto : queryIdentitySmallCircleListComRespDto_1.getVirtualOrgMemberList()) {
              VirtualOrgMemberDto retElm = new VirtualOrgMemberDto();
             if(queryIdentitySmallCircleListComRespDto_1!=null){
      retElm.setOriginalRoleMemberId(virtualOrgMemberDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:319250_2
retElm.setRoleCode(virtualOrgMemberDto.getRoleCode());//SimpleFieldAssign//sourceId:319252_2
retElm.setVirtualOrganizationPosition(virtualOrgMemberDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:319254_2
retElm.setFirstLetter(virtualOrgMemberDto.getFirstLetter());//SimpleFieldAssign//sourceId:319256_2
    }
              retData.getVirtualOrgMemberList().add(retElm);
               if(batchQueryMemberProfileListByIdsComRespDto_1!= null){
          for (BeginMemberDto beginMemberDto : batchQueryMemberProfileListByIdsComRespDto_1.getBeginMemberList()) {
                if (beginMemberDto.getOriginalRoleMemberId().equals(virtualOrgMemberDto.getOriginalRoleMemberId())) {
                 if(batchQueryMemberProfileListByIdsComRespDto_1!=null){
      retElm.setRoleMemberCode(beginMemberDto.getRoleMemberCode());//SimpleFieldAssign//sourceId:319248_2
retElm.setUserId(beginMemberDto.getUserId());//SimpleFieldAssign//sourceId:319249_2
retElm.setIdCardName(beginMemberDto.getIdCardName());//SimpleFieldAssign//sourceId:319253_2
retElm.setUserFace(beginMemberDto.getUserFace());//SimpleFieldAssign//sourceId:319251_2
retElm.setNickName(beginMemberDto.getNickName());//SimpleFieldAssign//sourceId:319255_2
    }
                }
            }
          }
        
          }
        }//sourceId:1660549_1
  

  
  
return retData;
  }
/**
   * D3查询我身份所在小圈子列表(公共)[8803]
   * gen by moon at 7/25/2024, 1:34:14 AM
   */
  @Trace(operationName = "D3查询我身份所在小圈子列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryIdentitySmallCircleListComRespDto queryIdentitySmallCircleListCom(QueryIdentitySmallCircleListComReqDto reqDto){
    
      
      List<OmsVirtualOrgMember> listOmsVirtualOrgMember_1 =new ArrayList<>();
//步骤0: M3执行业务应用公共字段推送内存（特殊方法） - implementBizPublicFieldPushMemory
     //ModelCode: publicFieldCache
        ImplementBizPublicFieldPushMemoryRespDto publicFieldCacheRes = null;
    ImplementBizPublicFieldPushMemoryReqDto publicFieldCacheReq=new ImplementBizPublicFieldPushMemoryReqDto();
  if(reqDto!=null){
      publicFieldCacheReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1669841_1
    }

    /*M3执行业务应用公共字段推送内存（特殊方法）[4520]  用于定时任务执行时，获取定时任务执行所需的公共信息，存入缓存，供定时任务中虚拟用况使用 */
    Assert.isNull(publicFieldCacheReq.getSpaceId(),"D3查询我身份所在小圈子列表(公共)-M3执行业务应用公共字段推送内存（特殊方法）-创建于空间ID不能为空",false);
      publicFieldCacheRes = nbSmallCircleCommon.implementBizPublicFieldPushMemory(publicFieldCacheReq);




//步骤1: 3-6-02查虚拟组织成员列表 - queryVirtualOrgMemberList
     List<OmsVirtualOrgMember> listOmsVirtualOrgMember =new ArrayList<>();
    QueryVirtualOrgMemberListReq queryVirtualOrgMemberListReq=new QueryVirtualOrgMemberListReq();
  if(reqDto!=null){
      queryVirtualOrgMemberListReq.setVirtualOrgId(reqDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1660471_1
queryVirtualOrgMemberListReq.setVirtualOrgInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1659542_1
queryVirtualOrgMemberListReq.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1659543_1
queryVirtualOrgMemberListReq.setIsPersonCharge(reqDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:1659548_1
queryVirtualOrgMemberListReq.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:1659544_1
queryVirtualOrgMemberListReq.setIsUpperLowerLevels(reqDto.getIsUpperLowerLevels());//SimpleFieldAssign//sourceId:1945016_1
queryVirtualOrgMemberListReq.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1659546_1
queryVirtualOrgMemberListReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1660094_1
queryVirtualOrgMemberListReq.setBusinessOperationTypeCode(reqDto.getBusinessOperationTypeCode());//SimpleFieldAssign//sourceId:1668499_1
queryVirtualOrgMemberListReq.setEvaluationTemplateType(reqDto.getEvaluationTemplateType());//SimpleFieldAssign//sourceId:1660095_1
queryVirtualOrgMemberListReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1659545_1
queryVirtualOrgMemberListReq.setIsDisplay(reqDto.getIsDisplay());//SimpleFieldAssign//sourceId:1659547_1
queryVirtualOrgMemberListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1659549_1
queryVirtualOrgMemberListReq.setCreateTime(reqDto.getCreateTime());//SimpleFieldAssign//sourceId:1956019_1
queryVirtualOrgMemberListReq.setReleaseTime(reqDto.getReleaseTime());//SimpleFieldAssign//sourceId:1956020_1
    }
  
    /*3-6-02查虚拟组织成员列表[2201]   */
Assert.isNull(queryVirtualOrgMemberListReq.getSubjectLifeCycle(),"D3查询我身份所在小圈子列表(公共)-3-6-02查虚拟组织成员列表-主体生命周期不能为空",false);
      listOmsVirtualOrgMember = mOmsVirtualOrgMemberService.queryVirtualOrgMemberList(queryVirtualOrgMemberListReq)/*vcase invoke 本地 method 方法调用;*/;
      
      
      listOmsVirtualOrgMember_1 = listOmsVirtualOrgMember;
    
QueryIdentitySmallCircleListComRespDto retData = new QueryIdentitySmallCircleListComRespDto();
  retData.setVirtualOrgMemberList(listOmsVirtualOrgMember_1.stream().map(item -> BeanUtil.toBean(item, VirtualOrgMemberDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1659567_1
  

  
  
return retData;
  }
/**
   * D3查询我下属负责的小圈子列表(公共)[8805]
   * gen by moon at 8/8/2024, 9:54:37 AM
   */
  @Trace(operationName = "D3查询我下属负责的小圈子列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QuerySubordinateChargeSmallCircleListComRespDto querySubordinateChargeSmallCircleListCom(QuerySubordinateChargeSmallCircleListComReqDto reqDto){
    
      
      ImplementEightReceivingFieldRespDto receptionServiceRes_1 =null;
//步骤0: M3执行业务应用公共字段推送内存（特殊方法） - implementBizPublicFieldPushMemory
     //ModelCode: publicFieldCache
        ImplementBizPublicFieldPushMemoryRespDto publicFieldCacheRes = null;
    ImplementBizPublicFieldPushMemoryReqDto publicFieldCacheReq=new ImplementBizPublicFieldPushMemoryReqDto();
  if(reqDto!=null){
      publicFieldCacheReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1669827_1
    }

    /*M3执行业务应用公共字段推送内存（特殊方法）[4520]  用于定时任务执行时，获取定时任务执行所需的公共信息，存入缓存，供定时任务中虚拟用况使用 */
    Assert.isNull(publicFieldCacheReq.getSpaceId(),"D3查询我下属负责的小圈子列表(公共)-M3执行业务应用公共字段推送内存（特殊方法）-创建于空间ID不能为空",false);
      publicFieldCacheRes = nbSmallCircleCommon.implementBizPublicFieldPushMemory(publicFieldCacheReq);




//步骤1: D3查询我身份所在小圈子列表(公共) - queryIdentitySmallCircleListCom
     QueryIdentitySmallCircleListComRespDto queryIdentitySmallCircleListComRespDto = null;
    QueryIdentitySmallCircleListComReqDto queryIdentitySmallCircleListComReqDto=new QueryIdentitySmallCircleListComReqDto();
  queryIdentitySmallCircleListComReqDto.setIsDisplay("TRUE");//sourceId:1659662_1
queryIdentitySmallCircleListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1659663_1
if(reqDto!=null){
      queryIdentitySmallCircleListComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1659657_1
      queryIdentitySmallCircleListComReqDto.setVirtualOrgInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1659656_1
queryIdentitySmallCircleListComReqDto.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:1659659_1
queryIdentitySmallCircleListComReqDto.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1659660_1
queryIdentitySmallCircleListComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1660176_1
queryIdentitySmallCircleListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1659661_1
queryIdentitySmallCircleListComReqDto.setBusinessOperationTypeCode(reqDto.getBusinessOperationTypeCode());//SimpleFieldAssign//sourceId:1668528_1
queryIdentitySmallCircleListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1669861_1
    }
  
    /*D3查询我身份所在小圈子列表(公共)[8803]   */
Assert.isNull(queryIdentitySmallCircleListComReqDto.getSubjectLifeCycle(),"D3查询我下属负责的小圈子列表(公共)-D3查询我身份所在小圈子列表(公共)-主体生命周期不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getSpaceId(),"D3查询我下属负责的小圈子列表(公共)-D3查询我身份所在小圈子列表(公共)-创建于空间ID不能为空",false);
      queryIdentitySmallCircleListComRespDto = queryIdentitySmallCircleListCom(queryIdentitySmallCircleListComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      
    
//步骤2: 3-6-02批量查询小圈子By内容 - batchQuerySmallCircleByEntityId
     List<OmsVirtualOrgMember> listOmsVirtualOrgMember =new ArrayList<>();
    if(queryIdentitySmallCircleListComRespDto !=null){
          BatchQuerySmallCircleByEntityIdReq batchQuerySmallCircleByEntityIdReq=new BatchQuerySmallCircleByEntityIdReq();
  batchQuerySmallCircleByEntityIdReq.setIsPersonCharge("TRUE");//sourceId:1685271_1
batchQuerySmallCircleByEntityIdReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1685275_1
  if(queryIdentitySmallCircleListComRespDto!= null&&  queryIdentitySmallCircleListComRespDto.getVirtualOrgMemberList() !=null&& !CollectionUtil.isEmpty(queryIdentitySmallCircleListComRespDto.getVirtualOrgMemberList())){
      batchQuerySmallCircleByEntityIdReq.setVirtualOrgMemberList(queryIdentitySmallCircleListComRespDto.getVirtualOrgMemberList().stream().map(item->item.getEntityId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1685269_1
    }
if(reqDto!=null){
      batchQuerySmallCircleByEntityIdReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1685272_1
batchQuerySmallCircleByEntityIdReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1685273_1
batchQuerySmallCircleByEntityIdReq.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1685274_1
batchQuerySmallCircleByEntityIdReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1685276_1
    }

    /*3-6-02批量查询小圈子By内容[9057]   */
    Assert.isNull(batchQuerySmallCircleByEntityIdReq.getIsPersonCharge(),"D3查询我下属负责的小圈子列表(公共)-3-6-02批量查询小圈子By内容-是否负责人不能为空",false);
Assert.isNull(batchQuerySmallCircleByEntityIdReq.getUseScene(),"D3查询我下属负责的小圈子列表(公共)-3-6-02批量查询小圈子By内容-虚拟组织使用场景不能为空",false);
Assert.isNull(batchQuerySmallCircleByEntityIdReq.getSubjectLifeCycle(),"D3查询我下属负责的小圈子列表(公共)-3-6-02批量查询小圈子By内容-主体生命周期不能为空",false);
Assert.isNull(batchQuerySmallCircleByEntityIdReq.getSpaceId(),"D3查询我下属负责的小圈子列表(公共)-3-6-02批量查询小圈子By内容-创建于空间ID不能为空",false);
      listOmsVirtualOrgMember = mOmsVirtualOrgMemberService.batchQuerySmallCircleByEntityId(batchQuerySmallCircleByEntityIdReq)/*vcase invoke 本地 method 方法调用;*/;



           }

//步骤3: D2执行多字段数据集记录去重(公共) - implementManyFieldsDataSetDuplicateRemovalCom
     ImplementManyFieldsDataSetDuplicateRemovalComRespDto implementManyFieldsDataSetDuplicateRemovalComRespDto = null;
    if(listOmsVirtualOrgMember !=null&& !CollectionUtil.isEmpty(listOmsVirtualOrgMember)&& listOmsVirtualOrgMember.size()>0 ){
          ImplementManyFieldsDataSetDuplicateRemovalComReqDto implementManyFieldsDataSetDuplicateRemovalComReqDto=new ImplementManyFieldsDataSetDuplicateRemovalComReqDto();
  if(listOmsVirtualOrgMember!= null&& !CollectionUtil.isEmpty(listOmsVirtualOrgMember)&&  listOmsVirtualOrgMember !=null&& !CollectionUtil.isEmpty(listOmsVirtualOrgMember)){
      implementManyFieldsDataSetDuplicateRemovalComReqDto.setDataSetDuplicateRemovalList(//objList-to-objLists
        listOmsVirtualOrgMember.stream().map(item -> {
      DataSetDuplicateRemovalDto elm = new DataSetDuplicateRemovalDto();
      elm.setCommPrimaryKey(item.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:328512_2
        return elm;
      }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1684132_1
    }
  
    /*D2小圈子成员按身份人员ID去重[7323]   */
    
      implementManyFieldsDataSetDuplicateRemovalComRespDto = fwCompInterfaceModeClient.implementManyFieldsDataSetDuplicateRemovalCom(implementManyFieldsDataSetDuplicateRemovalComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      
           }
    
//步骤4: M3执行第八接收字段（特殊方法） - implementEightReceivingField
     //ModelCode: receptionService
        ImplementEightReceivingFieldRespDto receptionServiceRes = null;
    if(implementManyFieldsDataSetDuplicateRemovalComRespDto !=null){
          ImplementEightReceivingFieldReqDto receptionServiceReq=new ImplementEightReceivingFieldReqDto();
  if(implementManyFieldsDataSetDuplicateRemovalComRespDto!= null&&  implementManyFieldsDataSetDuplicateRemovalComRespDto.getDataSetDuplicateRemovalList() !=null&& !CollectionUtil.isEmpty(implementManyFieldsDataSetDuplicateRemovalComRespDto.getDataSetDuplicateRemovalList())){
      receptionServiceReq.setIdentityDudepSubordinateChargeSmallCircleList(implementManyFieldsDataSetDuplicateRemovalComRespDto.getDataSetDuplicateRemovalList().stream().map(item->item.getCommPrimaryKey())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1660216_1
    }
  
    /*M3接收字段[8691]  用于特殊方法接收上游入参。 */
    
      receptionServiceRes = nbSmallCircleCommon.implementEightReceivingField(receptionServiceReq);
      
      
      receptionServiceRes_1 = receptionServiceRes;
           }
    
QuerySubordinateChargeSmallCircleListComRespDto retData = new QuerySubordinateChargeSmallCircleListComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setIdentityDudepSubordinateChargeSmallCircleList(receptionServiceRes_1.getIdentityDudepSubordinateChargeSmallCircleList());//list-field-assign//sourceId:1659811_1
    }
  

  
  
return retData;
  }
/**
   * D3查询我部门所在小圈子列表(公共)[8806]
   * gen by moon at 3/31/2024, 1:59:10 AM
   */
  @Trace(operationName = "D3查询我部门所在小圈子列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryDeptSmallCircleListComRespDto queryDeptSmallCircleListCom(QueryDeptSmallCircleListComReqDto reqDto){
    
      
      List<OmsVirtualOrgMemberDept> listOmsVirtualOrgMemberDept_1 =new ArrayList<>();
//步骤0: M3执行业务应用公共字段推送内存（特殊方法） - implementBizPublicFieldPushMemory
     //ModelCode: publicFieldCache
        ImplementBizPublicFieldPushMemoryRespDto publicFieldCacheRes = null;
    ImplementBizPublicFieldPushMemoryReqDto publicFieldCacheReq=new ImplementBizPublicFieldPushMemoryReqDto();
  if(reqDto!=null){
      publicFieldCacheReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1669855_1
    }

    /*M3执行业务应用公共字段推送内存（特殊方法）[4520]  用于定时任务执行时，获取定时任务执行所需的公共信息，存入缓存，供定时任务中虚拟用况使用 */
    Assert.isNull(publicFieldCacheReq.getSpaceId(),"D3查询我部门所在小圈子列表(公共)-M3执行业务应用公共字段推送内存（特殊方法）-创建于空间ID不能为空",false);
      publicFieldCacheRes = nbSmallCircleCommon.implementBizPublicFieldPushMemory(publicFieldCacheReq);




//步骤1: 3-6-03查虚拟成员部门列表 - queryVirtualOrgMemberDeptList
     List<OmsVirtualOrgMemberDept> listOmsVirtualOrgMemberDept =new ArrayList<>();
    QueryVirtualOrgMemberDeptListReq queryVirtualOrgMemberDeptListReq=new QueryVirtualOrgMemberDeptListReq();
  if(reqDto!=null){
      queryVirtualOrgMemberDeptListReq.setVirtualOrgId(reqDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1659636_1
queryVirtualOrgMemberDeptListReq.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1659604_1
queryVirtualOrgMemberDeptListReq.setDeptType(reqDto.getDeptType());//SimpleFieldAssign//sourceId:1659599_1
queryVirtualOrgMemberDeptListReq.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1659602_1
queryVirtualOrgMemberDeptListReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1660197_1
queryVirtualOrgMemberDeptListReq.setEvaluationTemplateType(reqDto.getEvaluationTemplateType());//SimpleFieldAssign//sourceId:1660196_1
queryVirtualOrgMemberDeptListReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1659601_1
queryVirtualOrgMemberDeptListReq.setIsDisplay(reqDto.getIsDisplay());//SimpleFieldAssign//sourceId:1659600_1
queryVirtualOrgMemberDeptListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1659603_1
    }
  
    /*3-6-03查虚拟成员部门列表[2220]   */
    Assert.isNull(queryVirtualOrgMemberDeptListReq.getUseScene(),"D3查询我部门所在小圈子列表(公共)-3-6-03查虚拟成员部门列表-虚拟组织使用场景不能为空",false);
Assert.isNull(queryVirtualOrgMemberDeptListReq.getIsDisplay(),"D3查询我部门所在小圈子列表(公共)-3-6-03查虚拟成员部门列表-是否外部展示不能为空",false);
Assert.isNull(queryVirtualOrgMemberDeptListReq.getSubjectLifeCycle(),"D3查询我部门所在小圈子列表(公共)-3-6-03查虚拟成员部门列表-主体生命周期不能为空",false);
      listOmsVirtualOrgMemberDept = mOmsVirtualOrgMemberDeptService.queryVirtualOrgMemberDeptList(queryVirtualOrgMemberDeptListReq)/*vcase invoke 本地 method 方法调用;*/;
      
      
      listOmsVirtualOrgMemberDept_1 = listOmsVirtualOrgMemberDept;
    
QueryDeptSmallCircleListComRespDto retData = new QueryDeptSmallCircleListComRespDto();
  retData.setVirtualOrgMemberDeptList(listOmsVirtualOrgMemberDept_1.stream().map(item -> BeanUtil.toBean(item, VirtualOrgMemberDeptDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1659653_1
  

  
  
return retData;
  }
/**
   * D3查询我部门负责的小圈子去重列表(公共)[8810]
   * gen by moon at 5/17/2024, 2:15:14 AM
   */
  @Trace(operationName = "D3查询我部门负责的小圈子去重列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryDeptChargeSmallCircleListComRespDto queryDeptChargeSmallCircleListCom(QueryDeptChargeSmallCircleListComReqDto reqDto){
    
      
      ImplementEightReceivingFieldRespDto receptionServiceRes_1 =null;
//步骤0: M3执行业务应用公共字段推送内存（特殊方法） - implementBizPublicFieldPushMemory
     //ModelCode: publicFieldCache
      ImplementBizPublicFieldPushMemoryRespDto publicFieldCacheRes = null;
      ImplementBizPublicFieldPushMemoryReqDto publicFieldCacheReq=new ImplementBizPublicFieldPushMemoryReqDto();
      if(reqDto!=null){
      publicFieldCacheReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1670036_1
      }

    /*M3业务应用公共字段推送内存（空间ID）[4520]  用于定时任务执行时，获取定时任务执行所需的公共信息，存入缓存，供定时任务中虚拟用况使用 */
    Assert.isNull(publicFieldCacheReq.getSpaceId(),"D3查询我部门负责的小圈子去重列表(公共)-M3业务应用公共字段推送内存（空间ID）-创建于空间ID不能为空",false);
      publicFieldCacheRes = nbSmallCircleCommon.implementBizPublicFieldPushMemory(publicFieldCacheReq);




//步骤1: D3查询我部门所在小圈子列表(公共) - queryDeptSmallCircleListCom
     QueryDeptSmallCircleListComRespDto queryDeptSmallCircleListComRespDto = null;
    QueryDeptSmallCircleListComReqDto queryDeptSmallCircleListComReqDto=new QueryDeptSmallCircleListComReqDto();
  queryDeptSmallCircleListComReqDto.setIsDisplay("TRUE");//sourceId:1659821_1
queryDeptSmallCircleListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1659822_1
if(reqDto!=null){
      queryDeptSmallCircleListComReqDto.setVirtualOrgId(reqDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1659816_1
queryDeptSmallCircleListComReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1659817_1
queryDeptSmallCircleListComReqDto.setDeptType(reqDto.getDeptType());//SimpleFieldAssign//sourceId:1659818_1
queryDeptSmallCircleListComReqDto.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1659820_1
queryDeptSmallCircleListComReqDto.setEvaluationTemplateType(reqDto.getEvaluationTemplateType());//SimpleFieldAssign//sourceId:1660202_1
queryDeptSmallCircleListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1659819_1
queryDeptSmallCircleListComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1660203_1
queryDeptSmallCircleListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1798495_1
    }
  
    /*D3查询我部门所在小圈子列表(公共)[8806]   */
    Assert.isNull(queryDeptSmallCircleListComReqDto.getUseScene(),"D3查询我部门负责的小圈子去重列表(公共)-D3查询我部门所在小圈子列表(公共)-虚拟组织使用场景不能为空",false);
Assert.isNull(queryDeptSmallCircleListComReqDto.getIsDisplay(),"D3查询我部门负责的小圈子去重列表(公共)-D3查询我部门所在小圈子列表(公共)-是否外部展示不能为空",false);
Assert.isNull(queryDeptSmallCircleListComReqDto.getSubjectLifeCycle(),"D3查询我部门负责的小圈子去重列表(公共)-D3查询我部门所在小圈子列表(公共)-主体生命周期不能为空",false);
Assert.isNull(queryDeptSmallCircleListComReqDto.getSpaceId(),"D3查询我部门负责的小圈子去重列表(公共)-D3查询我部门所在小圈子列表(公共)-创建于空间ID不能为空",false);
      queryDeptSmallCircleListComRespDto = queryDeptSmallCircleListCom(queryDeptSmallCircleListComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      
    
//步骤2: D2执行数据集记录去重(公共) - implementDataSetDuplicateRemovalCom
     ImplementDataSetDuplicateRemovalComRespDto implementDataSetDuplicateRemovalComRespDto = null;
    if(queryDeptSmallCircleListComRespDto !=null){
          ImplementDataSetDuplicateRemovalComReqDto implementDataSetDuplicateRemovalComReqDto=new ImplementDataSetDuplicateRemovalComReqDto();
  if(queryDeptSmallCircleListComRespDto!= null&&  queryDeptSmallCircleListComRespDto.getVirtualOrgMemberDeptList() !=null&& !CollectionUtil.isEmpty(queryDeptSmallCircleListComRespDto.getVirtualOrgMemberDeptList())){
      implementDataSetDuplicateRemovalComReqDto.setDataSetDuplicateRemovalList(queryDeptSmallCircleListComRespDto.getVirtualOrgMemberDeptList().stream().map(item->item.getDeptId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1660214_1
    }
  
    /*D2执行数据集记录去重(公共)[5138]   */
    
      implementDataSetDuplicateRemovalComRespDto = fwCompInterfaceModeClient.implementDataSetDuplicateRemovalCom(implementDataSetDuplicateRemovalComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      
           }
    
//步骤3: M3执行第八接收字段（特殊方法） - implementEightReceivingField
     //ModelCode: receptionService
        ImplementEightReceivingFieldRespDto receptionServiceRes = null;
    if(implementDataSetDuplicateRemovalComRespDto !=null){
          ImplementEightReceivingFieldReqDto receptionServiceReq=new ImplementEightReceivingFieldReqDto();
  if(implementDataSetDuplicateRemovalComRespDto!=null){
      receptionServiceReq.setDeptDudepVirtualOrgMemberDeptList(implementDataSetDuplicateRemovalComRespDto.getDataSetDuplicateRemovalList());//list-field-assign//sourceId:1659954_1
    }
  
    /*M3接收字段[8691]  用于特殊方法接收上游入参。 */
    
      receptionServiceRes = nbSmallCircleCommon.implementEightReceivingField(receptionServiceReq);
      
      
      receptionServiceRes_1 = receptionServiceRes;
           }
    
QueryDeptChargeSmallCircleListComRespDto retData = new QueryDeptChargeSmallCircleListComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setDeptDudepVirtualOrgMemberDeptList(receptionServiceRes_1.getDeptDudepVirtualOrgMemberDeptList());//list-field-assign//sourceId:1659958_1
    }
  

  
  
return retData;
  }
/**
   * D3查询我相关的主题内容列表(公共)[8812]
   * gen by moon at 5/12/2024, 2:33:21 AM
   */
  @Trace(operationName = "D3查询我相关的主题内容列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryMyRelateThemeConListComRespDto queryMyRelateThemeConListCom(QueryMyRelateThemeConListComReqDto reqDto){
    
      
      ImplementEightReceivingFieldRespDto receptionServiceRes_1 =null;
//步骤0: D3查询我身份所在小圈子列表(公共) - queryIdentitySmallCircleListCom
     QueryIdentitySmallCircleListComRespDto queryIdentitySmallCircleListComRespDto = null;
    QueryIdentitySmallCircleListComReqDto queryIdentitySmallCircleListComReqDto=new QueryIdentitySmallCircleListComReqDto();
  queryIdentitySmallCircleListComReqDto.setIsDisplay("TRUE");//sourceId:1659965_1
queryIdentitySmallCircleListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1659966_1
queryIdentitySmallCircleListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1790389_1
if(reqDto!=null){
      queryIdentitySmallCircleListComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1659960_1
queryIdentitySmallCircleListComReqDto.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1659963_1
queryIdentitySmallCircleListComReqDto.setEvaluationTemplateType(reqDto.getEvaluationTemplateType());//SimpleFieldAssign//sourceId:1660098_1
    }
  
    /*D3查询我身份所在小圈子列表(公共)[8803]   */
    Assert.isNull(queryIdentitySmallCircleListComReqDto.getOriginalRoleMemberId(),"D3查询我相关的主题内容列表(公共)-D3查询我身份所在小圈子列表(公共)-身份人员ID不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getUseScene(),"D3查询我相关的主题内容列表(公共)-D3查询我身份所在小圈子列表(公共)-虚拟组织使用场景不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getEvaluationTemplateType(),"D3查询我相关的主题内容列表(公共)-D3查询我身份所在小圈子列表(公共)-归属对象类型不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getIsDisplay(),"D3查询我相关的主题内容列表(公共)-D3查询我身份所在小圈子列表(公共)-是否外部展示不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getSubjectLifeCycle(),"D3查询我相关的主题内容列表(公共)-D3查询我身份所在小圈子列表(公共)-主体生命周期不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getSpaceId(),"D3查询我相关的主题内容列表(公共)-D3查询我身份所在小圈子列表(公共)-创建于空间ID不能为空",false);
      queryIdentitySmallCircleListComRespDto = queryIdentitySmallCircleListCom(queryIdentitySmallCircleListComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      
    
//步骤1: D2执行数据集记录去重(公共) - implementDataSetDuplicateRemovalCom
     ImplementDataSetDuplicateRemovalComRespDto implementDataSetDuplicateRemovalComRespDto = null;
    if(queryIdentitySmallCircleListComRespDto !=null){
          ImplementDataSetDuplicateRemovalComReqDto implementDataSetDuplicateRemovalComReqDto=new ImplementDataSetDuplicateRemovalComReqDto();
  if(queryIdentitySmallCircleListComRespDto!= null&&  queryIdentitySmallCircleListComRespDto.getVirtualOrgMemberList() !=null&& !CollectionUtil.isEmpty(queryIdentitySmallCircleListComRespDto.getVirtualOrgMemberList())){
      implementDataSetDuplicateRemovalComReqDto.setDataSetDuplicateRemovalList(queryIdentitySmallCircleListComRespDto.getVirtualOrgMemberList().stream().map(item->item.getEvaluationTemplateId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1660056_1
    }
  
    /*D2执行数据集记录去重(公共)[5138]   */
    
      implementDataSetDuplicateRemovalComRespDto = fwCompInterfaceModeClient.implementDataSetDuplicateRemovalCom(implementDataSetDuplicateRemovalComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      
           }
    
//步骤2: M3执行第八接收字段（特殊方法） - implementEightReceivingField
     //ModelCode: receptionService
        ImplementEightReceivingFieldRespDto receptionServiceRes = null;
    if(implementDataSetDuplicateRemovalComRespDto !=null){
          ImplementEightReceivingFieldReqDto receptionServiceReq=new ImplementEightReceivingFieldReqDto();
  if(implementDataSetDuplicateRemovalComRespDto!=null){
      receptionServiceReq.setThemeDudptMyRelateThemeConList(implementDataSetDuplicateRemovalComRespDto.getDataSetDuplicateRemovalList());//list-field-assign//sourceId:1660105_1
    }
  
    /*M3接收字段[8691]  用于特殊方法接收上游入参。 */
    
      receptionServiceRes = nbSmallCircleCommon.implementEightReceivingField(receptionServiceReq);
      
      
      receptionServiceRes_1 = receptionServiceRes;
           }
    
QueryMyRelateThemeConListComRespDto retData = new QueryMyRelateThemeConListComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setThemeDudptMyRelateThemeConList(receptionServiceRes_1.getThemeDudptMyRelateThemeConList());//list-field-assign//sourceId:1660170_1
    }
  

  
  
return retData;
  }
/**
   * D3查询评价模板下的部门列表(公共)[8961]
   * gen by moon at 4/1/2024, 1:56:34 AM
   */
  @Trace(operationName = "D3查询评价模板下的部门列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryDeptOfEvalutionListComRespDto queryDeptOfEvalutionListCom(QueryDeptOfEvalutionListComReqDto reqDto){


      BatchQueryDeptComBorderRespDto batchQueryDeptComBorderRespDto_1 =null;
//步骤0: D3查询我部门所在小圈子列表(公共) - queryDeptSmallCircleListCom
     QueryDeptSmallCircleListComRespDto queryDeptSmallCircleListComRespDto = null;
    QueryDeptSmallCircleListComReqDto queryDeptSmallCircleListComReqDto=new QueryDeptSmallCircleListComReqDto();
  queryDeptSmallCircleListComReqDto.setIsDisplay("TRUE");//sourceId:1675355_1
queryDeptSmallCircleListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1675356_1
if(reqDto!=null){
      queryDeptSmallCircleListComReqDto.setDeptType(reqDto.getDeptType());//SimpleFieldAssign//sourceId:1675352_1
queryDeptSmallCircleListComReqDto.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1675354_1
queryDeptSmallCircleListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1675353_1
queryDeptSmallCircleListComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1675358_1
queryDeptSmallCircleListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1675360_1
    }

    /*D3查询我部门所在小圈子列表(公共)[8806]   */
    Assert.isNull(queryDeptSmallCircleListComReqDto.getUseScene(),"D3查询评价模板下的部门列表(公共)-D3查询我部门所在小圈子列表(公共)-虚拟组织使用场景不能为空",false);
Assert.isNull(queryDeptSmallCircleListComReqDto.getIsDisplay(),"D3查询评价模板下的部门列表(公共)-D3查询我部门所在小圈子列表(公共)-是否外部展示不能为空",false);
Assert.isNull(queryDeptSmallCircleListComReqDto.getSubjectLifeCycle(),"D3查询评价模板下的部门列表(公共)-D3查询我部门所在小圈子列表(公共)-主体生命周期不能为空",false);
Assert.isNull(queryDeptSmallCircleListComReqDto.getSpaceId(),"D3查询评价模板下的部门列表(公共)-D3查询我部门所在小圈子列表(公共)-创建于空间ID不能为空",false);
      queryDeptSmallCircleListComRespDto = queryDeptSmallCircleListCom(queryDeptSmallCircleListComReqDto)/*vcase invoke 同服务,同domain*/;




//步骤1: D1-3批量查部门(公共)(边界) - batchQueryDeptComBorder
     BatchQueryDeptComBorderRespDto batchQueryDeptComBorderRespDto = null;
    if(queryDeptSmallCircleListComRespDto !=null){
          BatchQueryDeptComBorderReqDto batchQueryDeptComBorderReqDto=new BatchQueryDeptComBorderReqDto();
  if(queryDeptSmallCircleListComRespDto!= null&&  queryDeptSmallCircleListComRespDto.getVirtualOrgMemberDeptList() !=null&& !CollectionUtil.isEmpty(queryDeptSmallCircleListComRespDto.getVirtualOrgMemberDeptList())){
      batchQueryDeptComBorderReqDto.setDeptList(queryDeptSmallCircleListComRespDto.getVirtualOrgMemberDeptList().stream().map(item->item.getDeptId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1675362_1
    }
if(reqDto!=null){
      batchQueryDeptComBorderReqDto.setLevelNumber(reqDto.getLevelNumber());//SimpleFieldAssign//sourceId:1675363_1
    }

    /*D1-3批量查部门(公共)(边界)[2568]   */

      batchQueryDeptComBorderRespDto = fwBaseOrgClient.batchQueryDeptComBorder(batchQueryDeptComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      batchQueryDeptComBorderRespDto_1 = batchQueryDeptComBorderRespDto;
           }

QueryDeptOfEvalutionListComRespDto retData = new QueryDeptOfEvalutionListComRespDto();
  if(batchQueryDeptComBorderRespDto_1!=null){
      retData.setDeptList(batchQueryDeptComBorderRespDto_1.getDeptList().stream().map(item -> BeanUtil.toBean(item, DeptDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1675371_1
    }




return retData;
  }
/**
   * D3查询主管我下属小圈子列表(公共)[9034]
   * gen by moon at 4/1/2024, 2:32:16 AM
   */
  @Trace(operationName = "D3查询主管我下属小圈子列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryChargeSubordinateSmallCircleListComRespDto queryChargeSubordinateSmallCircleListCom(QueryChargeSubordinateSmallCircleListComReqDto reqDto){


      BatchQueryVirtualOrgMemberByinducRecIdComRespDto batchQueryVirtualOrgMemberByinducRecIdComRespDto_1 =null;
//步骤0: M3执行第八接收字段（特殊方法） - implementEightReceivingField
     //ModelCode: receptionService
        ImplementEightReceivingFieldRespDto receptionServiceRes = null;
    ImplementEightReceivingFieldReqDto receptionServiceReq=new ImplementEightReceivingFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq.setDirectorInductionRecordId(reqDto.getDirectorInductionRecordId());//SimpleFieldAssign//sourceId:1682804_1
receptionServiceReq.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1682796_1
receptionServiceReq.setIsPersonCharge(reqDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:1682802_1
receptionServiceReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1682798_1
receptionServiceReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1682799_1
receptionServiceReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1682800_1
    }

    /*M3接收入参字段[8691]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getDirectorInductionRecordId(),"D3查询主管我下属小圈子列表(公共)-M3接收入参字段-可选主管就职记录ID不能为空",false);
Assert.isNull(receptionServiceReq.getUseScene(),"D3查询主管我下属小圈子列表(公共)-M3接收入参字段-虚拟组织使用场景不能为空",false);
Assert.isNull(receptionServiceReq.getSpaceId(),"D3查询主管我下属小圈子列表(公共)-M3接收入参字段-创建于空间ID不能为空",false);
      receptionServiceRes = nbSmallCircleCommon.implementEightReceivingField(receptionServiceReq);




//步骤1: D1查询我下属就职记录列表(公共) - querySubordinateInductionRecordListCom
     QuerySubordinateInductionRecordListComRespDto querySubordinateInductionRecordListComRespDto = null;
    QuerySubordinateInductionRecordListComReqDto querySubordinateInductionRecordListComReqDto=new QuerySubordinateInductionRecordListComReqDto();
  if(reqDto!=null){
      querySubordinateInductionRecordListComReqDto.setDirectorInductionRecordId(reqDto.getDirectorInductionRecordId());//SimpleFieldAssign//sourceId:1682641_1
querySubordinateInductionRecordListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1682642_1
    }

    /*D1查询我下属就职记录列表(公共)[9031]   */
    Assert.isNull(querySubordinateInductionRecordListComReqDto.getDirectorInductionRecordId(),"D3查询主管我下属小圈子列表(公共)-D1查询我下属就职记录列表(公共)-可选主管就职记录ID不能为空",false);
Assert.isNull(querySubordinateInductionRecordListComReqDto.getSpaceId(),"D3查询主管我下属小圈子列表(公共)-D1查询我下属就职记录列表(公共)-创建于空间ID不能为空",false);
      querySubordinateInductionRecordListComRespDto = fwBaseDashboardOrgClient.querySubordinateInductionRecordListCom(querySubordinateInductionRecordListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;




//步骤2: D3批量查询人员小圈子By就职记录(公共) - batchQueryVirtualOrgMemberByinducRecIdCom
     BatchQueryVirtualOrgMemberByinducRecIdComRespDto batchQueryVirtualOrgMemberByinducRecIdComRespDto = null;
    if(querySubordinateInductionRecordListComRespDto !=null){
          BatchQueryVirtualOrgMemberByinducRecIdComReqDto batchQueryVirtualOrgMemberByinducRecIdComReqDto=new BatchQueryVirtualOrgMemberByinducRecIdComReqDto();
  if(querySubordinateInductionRecordListComRespDto!= null&&  querySubordinateInductionRecordListComRespDto.getOrgInductionRecordList() !=null&& !CollectionUtil.isEmpty(querySubordinateInductionRecordListComRespDto.getOrgInductionRecordList())){
      batchQueryVirtualOrgMemberByinducRecIdComReqDto.setVirtualOrgMemberList(querySubordinateInductionRecordListComRespDto.getOrgInductionRecordList().stream().map(item->item.getInductionRecordId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1682645_1
    }
if(reqDto!=null){
      batchQueryVirtualOrgMemberByinducRecIdComReqDto.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1682647_1
batchQueryVirtualOrgMemberByinducRecIdComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1682650_1
batchQueryVirtualOrgMemberByinducRecIdComReqDto.setIsPersonCharge(reqDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:1682652_1
batchQueryVirtualOrgMemberByinducRecIdComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1682646_1
batchQueryVirtualOrgMemberByinducRecIdComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1682648_1
    }

    /*D3批量查询人员小圈子By就职记录(公共)[8872]   */
    Assert.isNull(batchQueryVirtualOrgMemberByinducRecIdComReqDto.getUseScene(),"D3查询主管我下属小圈子列表(公共)-D3批量查询人员小圈子By就职记录(公共)-虚拟组织使用场景不能为空",false);
Assert.isNull(batchQueryVirtualOrgMemberByinducRecIdComReqDto.getSpaceId(),"D3查询主管我下属小圈子列表(公共)-D3批量查询人员小圈子By就职记录(公共)-创建于空间ID不能为空",false);
      batchQueryVirtualOrgMemberByinducRecIdComRespDto = dashboardTargetContentService.batchQueryVirtualOrgMemberByinducRecIdCom(batchQueryVirtualOrgMemberByinducRecIdComReqDto)/*vcase invoke isSameApp*/;


      batchQueryVirtualOrgMemberByinducRecIdComRespDto_1 = batchQueryVirtualOrgMemberByinducRecIdComRespDto;
           }

QueryChargeSubordinateSmallCircleListComRespDto retData = new QueryChargeSubordinateSmallCircleListComRespDto();
  if(batchQueryVirtualOrgMemberByinducRecIdComRespDto_1!=null){
      retData.setVirtualOrgMemberList(batchQueryVirtualOrgMemberByinducRecIdComRespDto_1.getVirtualOrgMemberList().stream().map(item -> BeanUtil.toBean(item, VirtualOrgMemberDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1682811_1
    }




return retData;
  }
/**
   * D3查询部门下人员去重列表(公共)[9040]
   * gen by moon at 4/2/2024, 6:21:33 PM
   */
  @Trace(operationName = "D3查询部门下人员去重列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryDeptMemberDedupListComRespDto queryDeptMemberDedupListCom(QueryDeptMemberDedupListComReqDto reqDto){


      BatchQueryDeptSubPersonnelSmallCoterieRemoDupComRespDto batchQueryDeptSubPersonnelSmallCoterieRemoDupComRespDto_1 =null;
BatchQueryUserInfoComRespDto batchQueryUserInfoComRespDto_1 =null;
//步骤0: M3执行第八接收字段（特殊方法） - implementEightReceivingField
     //ModelCode: receptionService
        ImplementEightReceivingFieldRespDto receptionServiceRes = null;
    ImplementEightReceivingFieldReqDto receptionServiceReq=new ImplementEightReceivingFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1683727_1
receptionServiceReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1683728_1
receptionServiceReq.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1683733_1
receptionServiceReq.setOwnTableTypeCode(reqDto.getOwnTableTypeCode());//SimpleFieldAssign//sourceId:1683767_1
receptionServiceReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1683734_1
    }

    /*M3接收入参字段[8691]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getDeptId(),"D3查询部门下人员去重列表(公共)-M3接收入参字段-部门ID不能为空",false);
Assert.isNull(receptionServiceReq.getSpaceId(),"D3查询部门下人员去重列表(公共)-M3接收入参字段-创建于空间ID不能为空",false);
Assert.isNull(receptionServiceReq.getUseScene(),"D3查询部门下人员去重列表(公共)-M3接收入参字段-虚拟组织使用场景不能为空",false);
      receptionServiceRes = nbSmallCircleCommon.implementEightReceivingField(receptionServiceReq);




//步骤1: D1-3查直属就职记录列表(公共) - queryDirectInductionRecordListCom
     QueryDirectInductionRecordListComRespDto queryDirectInductionRecordListComRespDto = null;
    QueryDirectInductionRecordListComReqDto queryDirectInductionRecordListComReqDto=new QueryDirectInductionRecordListComReqDto();
  queryDirectInductionRecordListComReqDto.setIsTransaction("FALSE");//sourceId:1683570_1
queryDirectInductionRecordListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1683571_1
if(reqDto!=null){
      queryDirectInductionRecordListComReqDto.setEntityId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1683565_1
queryDirectInductionRecordListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1683573_1
    }

    /*D1-3查直属就职记录列表(公共)[8057]   */
    Assert.isNull(queryDirectInductionRecordListComReqDto.getEntityId(),"D3查询部门下人员去重列表(公共)-D1-3查直属就职记录列表(公共)-就职单位对象实例ID不能为空",false);
Assert.isNull(queryDirectInductionRecordListComReqDto.getIsTransaction(),"D3查询部门下人员去重列表(公共)-D1-3查直属就职记录列表(公共)-是否异动不能为空",false);
Assert.isNull(queryDirectInductionRecordListComReqDto.getSubjectLifeCycle(),"D3查询部门下人员去重列表(公共)-D1-3查直属就职记录列表(公共)-主体生命周期不能为空",false);
Assert.isNull(queryDirectInductionRecordListComReqDto.getSpaceId(),"D3查询部门下人员去重列表(公共)-D1-3查直属就职记录列表(公共)-创建于空间ID不能为空",false);
      queryDirectInductionRecordListComRespDto = fwBaseInductionRecordClient.queryDirectInductionRecordListCom(queryDirectInductionRecordListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;




//步骤2: D3批量查询部门下人员小圈子列表(去重) - batchQueryDeptSubPersonnelSmallCoterieRemoDupCom
     BatchQueryDeptSubPersonnelSmallCoterieRemoDupComRespDto batchQueryDeptSubPersonnelSmallCoterieRemoDupComRespDto = null;
    if(queryDirectInductionRecordListComRespDto !=null){
          BatchQueryDeptSubPersonnelSmallCoterieRemoDupComReqDto batchQueryDeptSubPersonnelSmallCoterieRemoDupComReqDto=new BatchQueryDeptSubPersonnelSmallCoterieRemoDupComReqDto();
  if(queryDirectInductionRecordListComRespDto!= null&&  queryDirectInductionRecordListComRespDto.getOrgInductionRecordList() !=null&& !CollectionUtil.isEmpty(queryDirectInductionRecordListComRespDto.getOrgInductionRecordList())){
      batchQueryDeptSubPersonnelSmallCoterieRemoDupComReqDto.setVirtualOrgMemberList(queryDirectInductionRecordListComRespDto.getOrgInductionRecordList().stream().map(item->item.getInductionRecordId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1683577_1
    }
if(reqDto!=null){
      batchQueryDeptSubPersonnelSmallCoterieRemoDupComReqDto.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1683578_1
batchQueryDeptSubPersonnelSmallCoterieRemoDupComReqDto.setOwnTableTypeCode(reqDto.getOwnTableTypeCode());//SimpleFieldAssign//sourceId:1683766_1
batchQueryDeptSubPersonnelSmallCoterieRemoDupComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1683579_1
batchQueryDeptSubPersonnelSmallCoterieRemoDupComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1683580_1
    }

    /*D3批量查询部门下人员小圈子列表(去重)[8876]   */
    Assert.isNull(batchQueryDeptSubPersonnelSmallCoterieRemoDupComReqDto.getUseScene(),"D3查询部门下人员去重列表(公共)-D3批量查询部门下人员小圈子列表(去重)-虚拟组织使用场景不能为空",false);
Assert.isNull(batchQueryDeptSubPersonnelSmallCoterieRemoDupComReqDto.getSpaceId(),"D3查询部门下人员去重列表(公共)-D3批量查询部门下人员小圈子列表(去重)-创建于空间ID不能为空",false);
      batchQueryDeptSubPersonnelSmallCoterieRemoDupComRespDto = dashboardTargetContentService.batchQueryDeptSubPersonnelSmallCoterieRemoDupCom(batchQueryDeptSubPersonnelSmallCoterieRemoDupComReqDto)/*vcase invoke isSameApp*/;


      batchQueryDeptSubPersonnelSmallCoterieRemoDupComRespDto_1 = batchQueryDeptSubPersonnelSmallCoterieRemoDupComRespDto;
           }

//步骤3: D1批量查询个人资料(公共) - batchQueryUserInfoCom
     BatchQueryUserInfoComRespDto batchQueryUserInfoComRespDto = null;
    if(batchQueryDeptSubPersonnelSmallCoterieRemoDupComRespDto !=null){
          BatchQueryUserInfoComReqDto batchQueryUserInfoComReqDto=new BatchQueryUserInfoComReqDto();
  if(batchQueryDeptSubPersonnelSmallCoterieRemoDupComRespDto!= null&&  batchQueryDeptSubPersonnelSmallCoterieRemoDupComRespDto.getVirtualOrgMemberList() !=null&& !CollectionUtil.isEmpty(batchQueryDeptSubPersonnelSmallCoterieRemoDupComRespDto.getVirtualOrgMemberList())){
      batchQueryUserInfoComReqDto.setUserInfoList(batchQueryDeptSubPersonnelSmallCoterieRemoDupComRespDto.getVirtualOrgMemberList().stream().map(item->item.getUserId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1684134_1
    }

    /*D1批量查询个人资料(公共)[8002]   */

      batchQueryUserInfoComRespDto = fwBaseUserClient.batchQueryUserInfoCom(batchQueryUserInfoComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      batchQueryUserInfoComRespDto_1 = batchQueryUserInfoComRespDto;
           }

QueryDeptMemberDedupListComRespDto retData = new QueryDeptMemberDedupListComRespDto();
  //数据集融合  MoreListToOneSource
        if(batchQueryDeptSubPersonnelSmallCoterieRemoDupComRespDto_1!= null && !CollectionUtil.isEmpty(batchQueryDeptSubPersonnelSmallCoterieRemoDupComRespDto_1.getVirtualOrgMemberList()) ){
          for (VirtualOrgMemberDto virtualOrgMemberDto : batchQueryDeptSubPersonnelSmallCoterieRemoDupComRespDto_1.getVirtualOrgMemberList()) {
              VirtualOrgMemberDto retElm = new VirtualOrgMemberDto();
  if(batchQueryDeptSubPersonnelSmallCoterieRemoDupComRespDto_1!=null){
      retElm.setOriginalRoleMemberId(virtualOrgMemberDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:328362_2
retElm.setUserId(virtualOrgMemberDto.getUserId());//SimpleFieldAssign//sourceId:328366_2
    }
              retData.getVirtualOrgMemberList().add(retElm);
               if(batchQueryUserInfoComRespDto_1!= null){
          for (UserInfoDto userInfoDto : batchQueryUserInfoComRespDto_1.getUserInfoList()) {
                if (userInfoDto.getUserId().equals(virtualOrgMemberDto.getUserId())) {
                 if(batchQueryUserInfoComRespDto_1!=null){
      retElm.setNickName(userInfoDto.getNickName());//SimpleFieldAssign//sourceId:328531_2
retElm.setIdCardName(userInfoDto.getIdCardName());//SimpleFieldAssign//sourceId:328532_2
retElm.setUserFace(userInfoDto.getUserFace());//SimpleFieldAssign//sourceId:328533_2
    }
                }
            }
          }

          }
        }//sourceId:1683737_1




return retData;
  }
/**
   * D3查询下属小圈子去重列表(公共)[9044]
   * gen by moon at 4/2/2024, 6:21:30 PM
   */
  @Trace(operationName = "D3查询下属小圈子去重列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryUbordinateSmallCirclRemDupListComRespDto queryUbordinateSmallCirclRemDupListCom(QueryUbordinateSmallCirclRemDupListComReqDto reqDto){


      QuerySubordinateChargeSmallCircleListComRespDto querySubordinateChargeSmallCircleListComRespDto_1 =null;
//步骤0: M3执行第八接收字段（特殊方法） - implementEightReceivingField
     //ModelCode: receptionService
        ImplementEightReceivingFieldRespDto receptionServiceRes = null;
    ImplementEightReceivingFieldReqDto receptionServiceReq=new ImplementEightReceivingFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq.setVirtualOrgInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1684324_1
receptionServiceReq.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1684322_1
receptionServiceReq.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:1684325_1
receptionServiceReq.setIsPersonCharge(reqDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:1684327_1
receptionServiceReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1684323_1
receptionServiceReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1684326_1
receptionServiceReq.setBusinessOperationTypeCode(reqDto.getBusinessOperationTypeCode());//SimpleFieldAssign//sourceId:1684337_1
receptionServiceReq.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1684335_1
receptionServiceReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1684321_1
    }

    /*M3接收入参字段[8691]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getSpaceId(),"D3查询下属小圈子去重列表(公共)-M3接收入参字段-创建于空间ID不能为空",false);
      receptionServiceRes = nbSmallCircleCommon.implementEightReceivingField(receptionServiceReq);




//步骤1: D3查询我下属负责的小圈子列表(公共) - querySubordinateChargeSmallCircleListCom
     QuerySubordinateChargeSmallCircleListComRespDto querySubordinateChargeSmallCircleListComRespDto = null;
    QuerySubordinateChargeSmallCircleListComReqDto querySubordinateChargeSmallCircleListComReqDto=new QuerySubordinateChargeSmallCircleListComReqDto();
  if(reqDto!=null){
      querySubordinateChargeSmallCircleListComReqDto.setVirtualOrgInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1684150_1
querySubordinateChargeSmallCircleListComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1684151_1
querySubordinateChargeSmallCircleListComReqDto.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:1684152_1
querySubordinateChargeSmallCircleListComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1684156_1
querySubordinateChargeSmallCircleListComReqDto.setBusinessOperationTypeCode(reqDto.getBusinessOperationTypeCode());//SimpleFieldAssign//sourceId:1684157_1
querySubordinateChargeSmallCircleListComReqDto.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1684153_1
querySubordinateChargeSmallCircleListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1684154_1
querySubordinateChargeSmallCircleListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1684158_1
    }

    /*D3查询我下属负责的小圈子列表(公共)[8805]   */
    Assert.isNull(querySubordinateChargeSmallCircleListComReqDto.getSpaceId(),"D3查询下属小圈子去重列表(公共)-D3查询我下属负责的小圈子列表(公共)-创建于空间ID不能为空",false);
      querySubordinateChargeSmallCircleListComRespDto = querySubordinateChargeSmallCircleListCom(querySubordinateChargeSmallCircleListComReqDto)/*vcase invoke 同服务,同domain*/;


      querySubordinateChargeSmallCircleListComRespDto_1 = querySubordinateChargeSmallCircleListComRespDto;

QueryUbordinateSmallCirclRemDupListComRespDto retData = new QueryUbordinateSmallCirclRemDupListComRespDto();
  if(querySubordinateChargeSmallCircleListComRespDto_1!=null){
      retData.setIdentityDudepSubordinateChargeSmallCircleList(querySubordinateChargeSmallCircleListComRespDto_1.getIdentityDudepSubordinateChargeSmallCircleList());//list-field-assign//sourceId:1684340_1
    }




return retData;
  }
/**
   * D3查询主管我下属小圈子去重列表(公共)[9048]
   * gen by moon at 4/2/2024, 6:22:01 PM
   */
  @Trace(operationName = "D3查询主管我下属小圈子去重列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryChargeSubordinateSmallCircleRemDupListComRespDto queryChargeSubordinateSmallCircleRemDupListCom(QueryChargeSubordinateSmallCircleRemDupListComReqDto reqDto){


      QueryChargeSubordinateSmallCircleListComRespDto queryChargeSubordinateSmallCircleListComRespDto_1 =null;
BatchQueryUserInfoComRespDto batchQueryUserInfoComRespDto_1 =null;
//步骤0: D3查询主管我下属小圈子列表(公共) - queryChargeSubordinateSmallCircleListCom
     QueryChargeSubordinateSmallCircleListComRespDto queryChargeSubordinateSmallCircleListComRespDto = null;
    QueryChargeSubordinateSmallCircleListComReqDto queryChargeSubordinateSmallCircleListComReqDto=new QueryChargeSubordinateSmallCircleListComReqDto();
  if(reqDto!=null){
      queryChargeSubordinateSmallCircleListComReqDto.setDirectorInductionRecordId(reqDto.getDirectorInductionRecordId());//SimpleFieldAssign//sourceId:1684552_1
queryChargeSubordinateSmallCircleListComReqDto.setIsPersonCharge(reqDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:1684554_1
queryChargeSubordinateSmallCircleListComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1684555_1
queryChargeSubordinateSmallCircleListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1684556_1
queryChargeSubordinateSmallCircleListComReqDto.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1684553_1
queryChargeSubordinateSmallCircleListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1684557_1
    }

    /*D3查询主管我下属小圈子列表(公共)[9034]   */
    Assert.isNull(queryChargeSubordinateSmallCircleListComReqDto.getDirectorInductionRecordId(),"D3查询主管我下属小圈子去重列表(公共)-D3查询主管我下属小圈子列表(公共)-可选主管就职记录ID不能为空",false);
Assert.isNull(queryChargeSubordinateSmallCircleListComReqDto.getUseScene(),"D3查询主管我下属小圈子去重列表(公共)-D3查询主管我下属小圈子列表(公共)-虚拟组织使用场景不能为空",false);
Assert.isNull(queryChargeSubordinateSmallCircleListComReqDto.getSpaceId(),"D3查询主管我下属小圈子去重列表(公共)-D3查询主管我下属小圈子列表(公共)-创建于空间ID不能为空",false);
      queryChargeSubordinateSmallCircleListComRespDto = queryChargeSubordinateSmallCircleListCom(queryChargeSubordinateSmallCircleListComReqDto)/*vcase invoke 同服务,同domain*/;


      queryChargeSubordinateSmallCircleListComRespDto_1 = queryChargeSubordinateSmallCircleListComRespDto;

//步骤1: D1批量查询个人资料(公共) - batchQueryUserInfoCom
     BatchQueryUserInfoComRespDto batchQueryUserInfoComRespDto = null;
    if(queryChargeSubordinateSmallCircleListComRespDto !=null){
          BatchQueryUserInfoComReqDto batchQueryUserInfoComReqDto=new BatchQueryUserInfoComReqDto();
  if(queryChargeSubordinateSmallCircleListComRespDto!= null&&  queryChargeSubordinateSmallCircleListComRespDto.getVirtualOrgMemberList() !=null&& !CollectionUtil.isEmpty(queryChargeSubordinateSmallCircleListComRespDto.getVirtualOrgMemberList())){
      batchQueryUserInfoComReqDto.setUserInfoList(queryChargeSubordinateSmallCircleListComRespDto.getVirtualOrgMemberList().stream().map(item->item.getUserId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1684559_1
    }

    /*D1批量查询个人资料(公共)[8002]   */

      batchQueryUserInfoComRespDto = fwBaseUserClient.batchQueryUserInfoCom(batchQueryUserInfoComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      batchQueryUserInfoComRespDto_1 = batchQueryUserInfoComRespDto;
           }

QueryChargeSubordinateSmallCircleRemDupListComRespDto retData = new QueryChargeSubordinateSmallCircleRemDupListComRespDto();
  //数据集融合  MoreListToOneSource
        if(queryChargeSubordinateSmallCircleListComRespDto_1!= null && !CollectionUtil.isEmpty(queryChargeSubordinateSmallCircleListComRespDto_1.getVirtualOrgMemberList()) ){
          for (VirtualOrgMemberDto virtualOrgMemberDto : queryChargeSubordinateSmallCircleListComRespDto_1.getVirtualOrgMemberList()) {
              VirtualOrgMemberDto retElm = new VirtualOrgMemberDto();
             if(queryChargeSubordinateSmallCircleListComRespDto_1!=null){
      retElm.setVirtualOrgInductionRecordId(virtualOrgMemberDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:328720_2
retElm.setOriginalRoleMemberId(virtualOrgMemberDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:328721_2
retElm.setUserId(virtualOrgMemberDto.getUserId());//SimpleFieldAssign//sourceId:328722_2
retElm.setTableTypeCode(virtualOrgMemberDto.getTableTypeCode());//SimpleFieldAssign//sourceId:328728_2
retElm.setEntityId(virtualOrgMemberDto.getEntityId());//SimpleFieldAssign//sourceId:328724_2
    }
              retData.getVirtualOrgMemberList().add(retElm);
               if(batchQueryUserInfoComRespDto_1!= null){
          for (UserInfoDto userInfoDto : batchQueryUserInfoComRespDto_1.getUserInfoList()) {
                if (userInfoDto.getUserId().equals(virtualOrgMemberDto.getUserId())) {
                 if(batchQueryUserInfoComRespDto_1!=null){
      retElm.setIdCardName(userInfoDto.getIdCardName());//SimpleFieldAssign//sourceId:328725_2
retElm.setNickName(userInfoDto.getNickName());//SimpleFieldAssign//sourceId:328726_2
retElm.setUserFace(userInfoDto.getUserFace());//SimpleFieldAssign//sourceId:328727_2
    }
                }
            }
          }

          }
        }//sourceId:1684567_1




return retData;
  }
/**
   * D3批量查询小圈子By内容(公共)[9065]
   * gen by moon at 4/2/2024, 6:22:05 PM
   */
  @Trace(operationName = "D3批量查询小圈子By内容(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public BatchQuerySmallCircleByEntityIdComRespDto batchQuerySmallCircleByEntityIdCom(BatchQuerySmallCircleByEntityIdComReqDto reqDto){


      List<OmsVirtualOrgMember> listOmsVirtualOrgMember_1 =new ArrayList<>();
//步骤0: 3-6-02批量查询小圈子By内容 - batchQuerySmallCircleByEntityId
     List<OmsVirtualOrgMember> listOmsVirtualOrgMember =new ArrayList<>();
    BatchQuerySmallCircleByEntityIdReq batchQuerySmallCircleByEntityIdReq=new BatchQuerySmallCircleByEntityIdReq();
  if(reqDto!=null){
      batchQuerySmallCircleByEntityIdReq.setVirtualOrgMemberList(reqDto.getVirtualOrgMemberList());//list-field-assign//sourceId:1686270_1
batchQuerySmallCircleByEntityIdReq.setIsPersonCharge(reqDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:1686272_1
batchQuerySmallCircleByEntityIdReq.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1686703_1
batchQuerySmallCircleByEntityIdReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1686274_1
batchQuerySmallCircleByEntityIdReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1686276_1
batchQuerySmallCircleByEntityIdReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1686277_1
    }

    /*3-6-02批量查询小圈子By内容[9057]   */
    Assert.isNull(batchQuerySmallCircleByEntityIdReq.getIsPersonCharge(),"D3批量查询小圈子By内容(公共)-3-6-02批量查询小圈子By内容-是否负责人不能为空",false);
Assert.isNull(batchQuerySmallCircleByEntityIdReq.getSubjectLifeCycle(),"D3批量查询小圈子By内容(公共)-3-6-02批量查询小圈子By内容-主体生命周期不能为空",false);
Assert.isNull(batchQuerySmallCircleByEntityIdReq.getSpaceId(),"D3批量查询小圈子By内容(公共)-3-6-02批量查询小圈子By内容-创建于空间ID不能为空",false);
      listOmsVirtualOrgMember = mOmsVirtualOrgMemberService.batchQuerySmallCircleByEntityId(batchQuerySmallCircleByEntityIdReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsVirtualOrgMember_1 = listOmsVirtualOrgMember;

BatchQuerySmallCircleByEntityIdComRespDto retData = new BatchQuerySmallCircleByEntityIdComRespDto();
  retData.setVirtualOrgMemberList(listOmsVirtualOrgMember_1.stream().map(item -> BeanUtil.toBean(item, VirtualOrgMemberDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1686293_1




return retData;
  }
/**
   * D3查询部门小圈子By内容列表(公共)[9066]
   * gen by moon at 4/2/2024, 6:22:08 PM
   */
  @Trace(operationName = "D3查询部门小圈子By内容列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryDeptSmallCircleByEntityIdListComRespDto queryDeptSmallCircleByEntityIdListCom(QueryDeptSmallCircleByEntityIdListComReqDto reqDto){


      BatchQueryDeptComBorderRespDto batchQueryDeptComBorderRespDto_1 =null;
//步骤0: 3-6-03批量查询虚拟成员部门By内容ID - batchQueryVirtualOrgMemberDeptByContId
     List<OmsVirtualOrgMemberDept> listOmsVirtualOrgMemberDept =new ArrayList<>();
    BatchQueryVirtualOrgMemberDeptByContIdReq batchQueryVirtualOrgMemberDeptByContIdReq=new BatchQueryVirtualOrgMemberDeptByContIdReq();
  if(reqDto!=null){
      batchQueryVirtualOrgMemberDeptByContIdReq.setVirtualOrgMemberDeptList(reqDto.getVirtualOrgMemberDeptList());//list-field-assign//sourceId:1686279_1
batchQueryVirtualOrgMemberDeptByContIdReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1686281_1
batchQueryVirtualOrgMemberDeptByContIdReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1686284_1
    }

    /*3-6-03批量查询虚拟成员部门By内容ID[7124]   */
    Assert.isNull(batchQueryVirtualOrgMemberDeptByContIdReq.getSubjectLifeCycle(),"D3查询部门小圈子By内容列表(公共)-3-6-03批量查询虚拟成员部门By内容ID-主体生命周期不能为空",false);
      listOmsVirtualOrgMemberDept = mOmsVirtualOrgMemberDeptService.batchQueryVirtualOrgMemberDeptByContId(batchQueryVirtualOrgMemberDeptByContIdReq)/*vcase invoke 本地 method 方法调用;*/;




//步骤1: D1-3批量查部门(公共)(边界) - batchQueryDeptComBorder
     BatchQueryDeptComBorderRespDto batchQueryDeptComBorderRespDto = null;
    if(listOmsVirtualOrgMemberDept !=null&& !CollectionUtil.isEmpty(listOmsVirtualOrgMemberDept)&& listOmsVirtualOrgMemberDept.size()>0 ){
          BatchQueryDeptComBorderReqDto batchQueryDeptComBorderReqDto=new BatchQueryDeptComBorderReqDto();
  if(listOmsVirtualOrgMemberDept!= null&& !CollectionUtil.isEmpty(listOmsVirtualOrgMemberDept)&&  listOmsVirtualOrgMemberDept !=null&& !CollectionUtil.isEmpty(listOmsVirtualOrgMemberDept)){
      batchQueryDeptComBorderReqDto.setDeptList(listOmsVirtualOrgMemberDept.stream().map(item->item.getDeptId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1686443_1
    }

    /*D1-3批量查部门(公共)(边界)[2568]   */

      batchQueryDeptComBorderRespDto = fwBaseOrgClient.batchQueryDeptComBorder(batchQueryDeptComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      batchQueryDeptComBorderRespDto_1 = batchQueryDeptComBorderRespDto;
           }

QueryDeptSmallCircleByEntityIdListComRespDto retData = new QueryDeptSmallCircleByEntityIdListComRespDto();
  if(batchQueryDeptComBorderRespDto_1!=null){
      retData.setVirtualOrgMemberDeptList(batchQueryDeptComBorderRespDto_1.getDeptList().stream().map(item -> BeanUtil.toBean(item, VirtualOrgMemberDeptDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1686480_1
    }




return retData;
  }
/**
   * D3批量查询小圈子身份人员信息by内容(公共)[9068]
   * gen by moon at 4/2/2024, 6:22:16 PM
   */
  @Trace(operationName = "D3批量查询小圈子身份人员信息by内容(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public BatchQuerySmallCircleOriRoleMemInfoComRespDto batchQuerySmallCircleOriRoleMemInfoCom(BatchQuerySmallCircleOriRoleMemInfoComReqDto reqDto){


      BatchQuerySmallCircleByEntityIdComRespDto batchQuerySmallCircleByEntityIdComRespDto_1 =null;
BatchQueryUserInfoComRespDto batchQueryUserInfoComRespDto_1 =null;
//步骤0: D3批量查询小圈子By内容(公共) - batchQuerySmallCircleByEntityIdCom
     BatchQuerySmallCircleByEntityIdComRespDto batchQuerySmallCircleByEntityIdComRespDto = null;
    BatchQuerySmallCircleByEntityIdComReqDto batchQuerySmallCircleByEntityIdComReqDto=new BatchQuerySmallCircleByEntityIdComReqDto();
  batchQuerySmallCircleByEntityIdComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1686452_1
if(reqDto!=null){
      batchQuerySmallCircleByEntityIdComReqDto.setVirtualOrgMemberList(reqDto.getVirtualOrgMemberList());//list-field-assign//sourceId:1686447_1
batchQuerySmallCircleByEntityIdComReqDto.setIsPersonCharge(reqDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:1686448_1
batchQuerySmallCircleByEntityIdComReqDto.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1686705_1
batchQuerySmallCircleByEntityIdComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1686449_1
batchQuerySmallCircleByEntityIdComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1686451_1
    }

    /*D3批量查询小圈子By内容(公共)[9065]   */
    Assert.isNull(batchQuerySmallCircleByEntityIdComReqDto.getIsPersonCharge(),"D3批量查询小圈子身份人员信息by内容(公共)-D3批量查询小圈子By内容(公共)-是否负责人不能为空",false);
Assert.isNull(batchQuerySmallCircleByEntityIdComReqDto.getSubjectLifeCycle(),"D3批量查询小圈子身份人员信息by内容(公共)-D3批量查询小圈子By内容(公共)-主体生命周期不能为空",false);
Assert.isNull(batchQuerySmallCircleByEntityIdComReqDto.getSpaceId(),"D3批量查询小圈子身份人员信息by内容(公共)-D3批量查询小圈子By内容(公共)-创建于空间ID不能为空",false);
      batchQuerySmallCircleByEntityIdComRespDto = batchQuerySmallCircleByEntityIdCom(batchQuerySmallCircleByEntityIdComReqDto)/*vcase invoke 同服务,同domain*/;


      batchQuerySmallCircleByEntityIdComRespDto_1 = batchQuerySmallCircleByEntityIdComRespDto;

//步骤1: D1批量查询个人资料(公共) - batchQueryUserInfoCom
     BatchQueryUserInfoComRespDto batchQueryUserInfoComRespDto = null;
    if(batchQuerySmallCircleByEntityIdComRespDto !=null){
          BatchQueryUserInfoComReqDto batchQueryUserInfoComReqDto=new BatchQueryUserInfoComReqDto();
  if(batchQuerySmallCircleByEntityIdComRespDto!= null&&  batchQuerySmallCircleByEntityIdComRespDto.getVirtualOrgMemberList() !=null&& !CollectionUtil.isEmpty(batchQuerySmallCircleByEntityIdComRespDto.getVirtualOrgMemberList())){
      batchQueryUserInfoComReqDto.setUserInfoList(batchQuerySmallCircleByEntityIdComRespDto.getVirtualOrgMemberList().stream().map(item->item.getUserId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1686461_1
    }

    /*D1批量查询个人资料(公共)[8002]   */

      batchQueryUserInfoComRespDto = fwBaseUserClient.batchQueryUserInfoCom(batchQueryUserInfoComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      batchQueryUserInfoComRespDto_1 = batchQueryUserInfoComRespDto;
           }

BatchQuerySmallCircleOriRoleMemInfoComRespDto retData = new BatchQuerySmallCircleOriRoleMemInfoComRespDto();
  //数据集融合  MoreListToOneSource
        if(batchQuerySmallCircleByEntityIdComRespDto_1!= null && !CollectionUtil.isEmpty(batchQuerySmallCircleByEntityIdComRespDto_1.getVirtualOrgMemberList()) ){
          for (VirtualOrgMemberDto virtualOrgMemberDto : batchQuerySmallCircleByEntityIdComRespDto_1.getVirtualOrgMemberList()) {
              VirtualOrgMemberDto retElm = new VirtualOrgMemberDto();
             if(batchQuerySmallCircleByEntityIdComRespDto_1!=null){
      retElm.setEntityId(virtualOrgMemberDto.getEntityId());//SimpleFieldAssign//sourceId:330136_2
    }
              retData.getVirtualOrgMemberList().add(retElm);
               if(batchQueryUserInfoComRespDto_1!= null){
          for (UserInfoDto userInfoDto : batchQueryUserInfoComRespDto_1.getUserInfoList()) {
                if (userInfoDto.getUserId().equals(virtualOrgMemberDto.getUserId())) {
                 if(batchQueryUserInfoComRespDto_1!=null){
      retElm.setIdCardName(userInfoDto.getIdCardName());//SimpleFieldAssign//sourceId:330138_2
retElm.setNickName(userInfoDto.getNickName());//SimpleFieldAssign//sourceId:330144_2
retElm.setUserFace(userInfoDto.getUserFace());//SimpleFieldAssign//sourceId:330139_2
    }
                }
            }
          }

          }
        }//sourceId:1686477_1




return retData;
  }
/**
   * D3查询当前指标及一级指标等详情(公共)[9303]
   * gen by moon at 6/23/2024, 7:27:07 AM
   */
  @Trace(operationName = "D3查询当前指标及一级指标等详情(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryCurObjectiveAndOneLevelEtcDetailComRespDto queryCurObjectiveAndOneLevelEtcDetailCom(QueryCurObjectiveAndOneLevelEtcDetailComReqDto reqDto){


      QueryTargetObjDetailComRespDto queryTargetObjDetailComRespDto_1 =null;
QueryTargetContetCycleDetailComRespDto queryTargetContetCycleDetailComRespDto_1 =null;
QueryTargetContetCycleDetailComRespDto queryTargetContetCycleDetailComRespDto_3 =null;
//步骤0: D3-3查询指标详情(公共) - queryTargetObjDetailCom
     QueryTargetObjDetailComRespDto queryTargetObjDetailComRespDto = null;
    QueryTargetObjDetailComReqDto queryTargetObjDetailComReqDto=new QueryTargetObjDetailComReqDto();
  queryTargetObjDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1701626_1
if(reqDto!=null){
      queryTargetObjDetailComReqDto.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:1701614_1
queryTargetObjDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1701625_1
    }

    /*D3-3查询指标详情(公共)[2794]   */
    Assert.isNull(queryTargetObjDetailComReqDto.getObjectiveId(),"D3查询当前指标及一级指标等详情(公共)-D3-3查询指标详情(公共)-指标ID不能为空",false);
Assert.isNull(queryTargetObjDetailComReqDto.getEvaluationTemplateId(),"D3查询当前指标及一级指标等详情(公共)-D3-3查询指标详情(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(queryTargetObjDetailComReqDto.getSubjectLifeCycle(),"D3查询当前指标及一级指标等详情(公共)-D3-3查询指标详情(公共)-主体生命周期不能为空",false);
      queryTargetObjDetailComRespDto = indexSystemService.queryTargetObjDetailCom(queryTargetObjDetailComReqDto)/*vcase invoke isSameApp*/;


      queryTargetObjDetailComRespDto_1 = queryTargetObjDetailComRespDto;

//步骤1: D3查询目标内容周期详情(公共) - queryTargetContetCycleDetailCom
     QueryTargetContetCycleDetailComRespDto queryTargetContetCycleDetailComRespDto = null;
    QueryTargetContetCycleDetailComReqDto queryTargetContetCycleDetailComReqDto=new QueryTargetContetCycleDetailComReqDto();
  queryTargetContetCycleDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1702473_1
if(reqDto!=null){
      queryTargetContetCycleDetailComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1702469_1
queryTargetContetCycleDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1702483_1
queryTargetContetCycleDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1702474_1
    }

    /*D3查询目标内容被评对象目标周期标识[9284]   */
    Assert.isNull(queryTargetContetCycleDetailComReqDto.getEvaObjTargetCycleId(),"D3查询当前指标及一级指标等详情(公共)-D3查询目标内容被评对象目标周期标识-被评对象目标周期ID不能为空",false);
Assert.isNull(queryTargetContetCycleDetailComReqDto.getEvaluationTemplateId(),"D3查询当前指标及一级指标等详情(公共)-D3查询目标内容被评对象目标周期标识-冗余评价模板ID不能为空",false);
Assert.isNull(queryTargetContetCycleDetailComReqDto.getSubjectLifeCycle(),"D3查询当前指标及一级指标等详情(公共)-D3查询目标内容被评对象目标周期标识-主体生命周期不能为空",false);
Assert.isNull(queryTargetContetCycleDetailComReqDto.getSpaceId(),"D3查询当前指标及一级指标等详情(公共)-D3查询目标内容被评对象目标周期标识-创建于空间ID不能为空",false);
      queryTargetContetCycleDetailComRespDto = targetCalcService.queryTargetContetCycleDetailCom(queryTargetContetCycleDetailComReqDto)/*vcase invoke isSameApp*/;


      queryTargetContetCycleDetailComRespDto_1 = queryTargetContetCycleDetailComRespDto;

//步骤2: D3查询目标内容部门小圈子详情(公共) - queryTargetContDeptSmallCircleDetailCom
     QueryTargetContDeptSmallCircleDetailComRespDto queryTargetContDeptSmallCircleDetailComRespDto = null;
    if(queryTargetObjDetailComRespDto !=null){
          QueryTargetContDeptSmallCircleDetailComReqDto queryTargetContDeptSmallCircleDetailComReqDto=new QueryTargetContDeptSmallCircleDetailComReqDto();
  queryTargetContDeptSmallCircleDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1701640_1
if(queryTargetObjDetailComRespDto!=null){
      queryTargetContDeptSmallCircleDetailComReqDto.setEntityId(queryTargetObjDetailComRespDto.getRootObjectiveId());//SimpleFieldAssign//sourceId:1701638_1
    }
if(reqDto!=null){
      queryTargetContDeptSmallCircleDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1701646_1
queryTargetContDeptSmallCircleDetailComReqDto.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1701639_1
queryTargetContDeptSmallCircleDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1701641_1
    }

    /*D3查询目标内容部门小圈子详情(公共)[9249]   */
    Assert.isNull(queryTargetContDeptSmallCircleDetailComReqDto.getEntityId(),"D3查询当前指标及一级指标等详情(公共)-D3查询目标内容部门小圈子详情(公共)-冗余内容表主键ID不能为空",false);
Assert.isNull(queryTargetContDeptSmallCircleDetailComReqDto.getEvaluationTemplateId(),"D3查询当前指标及一级指标等详情(公共)-D3查询目标内容部门小圈子详情(公共)-归属对象ID不能为空",false);
Assert.isNull(queryTargetContDeptSmallCircleDetailComReqDto.getUseScene(),"D3查询当前指标及一级指标等详情(公共)-D3查询目标内容部门小圈子详情(公共)-虚拟组织使用场景不能为空",false);
Assert.isNull(queryTargetContDeptSmallCircleDetailComReqDto.getSubjectLifeCycle(),"D3查询当前指标及一级指标等详情(公共)-D3查询目标内容部门小圈子详情(公共)-主体生命周期不能为空",false);
Assert.isNull(queryTargetContDeptSmallCircleDetailComReqDto.getSpaceId(),"D3查询当前指标及一级指标等详情(公共)-D3查询目标内容部门小圈子详情(公共)-创建于空间ID不能为空",false);
      queryTargetContDeptSmallCircleDetailComRespDto = queryTargetContDeptSmallCircleDetailCom(queryTargetContDeptSmallCircleDetailComReqDto)/*vcase invoke 同服务,同domain*/;



           }

//步骤3: D3查询目标内容周期详情(公共) - queryTargetContetCycleDetailCom
     QueryTargetContetCycleDetailComRespDto queryTargetContetCycleDetailComRespDto_2 = null;
    if(queryTargetContDeptSmallCircleDetailComRespDto !=null){
          QueryTargetContetCycleDetailComReqDto queryTargetContetCycleDetailComReqDto_1=new QueryTargetContetCycleDetailComReqDto();
  queryTargetContetCycleDetailComReqDto_1.setEvaObjTypeCode("FLEVEL_OBJ_TASK_DUTY_DEPT");//sourceId:1702053_1
queryTargetContetCycleDetailComReqDto_1.setTargetCycleContentTypeCode("TARGET");//sourceId:1807331_1
queryTargetContetCycleDetailComReqDto_1.setIsSubCycle("TRUE");//sourceId:1702074_1
queryTargetContetCycleDetailComReqDto_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1702056_1
if(queryTargetContDeptSmallCircleDetailComRespDto!=null){
      queryTargetContetCycleDetailComReqDto_1.setEvaObjEntityId(queryTargetContDeptSmallCircleDetailComRespDto.getDeptId());//SimpleFieldAssign//sourceId:1702062_1
    }
if(queryTargetContetCycleDetailComRespDto!=null){
      queryTargetContetCycleDetailComReqDto_1.setCycleId(queryTargetContetCycleDetailComRespDto.getCycleId());//SimpleFieldAssign//sourceId:1787656_1
    }
if(reqDto!=null){
      queryTargetContetCycleDetailComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1702066_1
queryTargetContetCycleDetailComReqDto_1.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1702057_1
    }

    /*D3查询一级指标牵头部门根节点[9284]   */
    Assert.isNull(queryTargetContetCycleDetailComReqDto_1.getEvaObjEntityId(),"D3查询当前指标及一级指标等详情(公共)-D3查询一级指标牵头部门根节点-被评对象内容表主键ID不能为空",false);
Assert.isNull(queryTargetContetCycleDetailComReqDto_1.getEvaObjTypeCode(),"D3查询当前指标及一级指标等详情(公共)-D3查询一级指标牵头部门根节点-被评对象类型编码不能为空",false);
Assert.isNull(queryTargetContetCycleDetailComReqDto_1.getTargetCycleContentTypeCode(),"D3查询当前指标及一级指标等详情(公共)-D3查询一级指标牵头部门根节点-关联目标内容类型编码不能为空",false);
Assert.isNull(queryTargetContetCycleDetailComReqDto_1.getCycleId(),"D3查询当前指标及一级指标等详情(公共)-D3查询一级指标牵头部门根节点-周期ID不能为空",false);
Assert.isNull(queryTargetContetCycleDetailComReqDto_1.getIsSubCycle(),"D3查询当前指标及一级指标等详情(公共)-D3查询一级指标牵头部门根节点-是否子周期不能为空",false);
Assert.isNull(queryTargetContetCycleDetailComReqDto_1.getEvaluationTemplateId(),"D3查询当前指标及一级指标等详情(公共)-D3查询一级指标牵头部门根节点-冗余评价模板ID不能为空",false);
Assert.isNull(queryTargetContetCycleDetailComReqDto_1.getSubjectLifeCycle(),"D3查询当前指标及一级指标等详情(公共)-D3查询一级指标牵头部门根节点-主体生命周期不能为空",false);
Assert.isNull(queryTargetContetCycleDetailComReqDto_1.getSpaceId(),"D3查询当前指标及一级指标等详情(公共)-D3查询一级指标牵头部门根节点-创建于空间ID不能为空",false);
      queryTargetContetCycleDetailComRespDto_2 = targetCalcService.queryTargetContetCycleDetailCom(queryTargetContetCycleDetailComReqDto_1)/*vcase invoke isSameApp*/;


      queryTargetContetCycleDetailComRespDto_3 = queryTargetContetCycleDetailComRespDto_2;
           }

QueryCurObjectiveAndOneLevelEtcDetailComRespDto retData = new QueryCurObjectiveAndOneLevelEtcDetailComRespDto();
  if(queryTargetObjDetailComRespDto_1!=null){
      retData.setRootTargetCategoryId(queryTargetObjDetailComRespDto_1.getRootTargetCategoryId());//SimpleFieldAssign//sourceId:1701690_1
retData.setRootObjectiveId(queryTargetObjDetailComRespDto_1.getRootObjectiveId());//SimpleFieldAssign//sourceId:1701691_1
retData.setTargetValueType(queryTargetObjDetailComRespDto_1.getTargetValueType());//SimpleFieldAssign//sourceId:1704434_1
retData.setIsLastObjective(queryTargetObjDetailComRespDto_1.getIsLastObjective());//SimpleFieldAssign//sourceId:1888738_1
    }
if(queryTargetContetCycleDetailComRespDto_1!=null){
      retData.setEvaObjTargetCycleCode(queryTargetContetCycleDetailComRespDto_1.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:1702709_1
    }
if(queryTargetContetCycleDetailComRespDto_3!=null){
      retData.setEvaObjTargetCycleId(queryTargetContetCycleDetailComRespDto_3.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1702262_1
    }




return retData;
  }
/**
   * D3查询目标内容部门小圈子详情(公共)[9249]
   * gen by moon at 4/7/2024, 9:03:23 AM
   */
  @Trace(operationName = "D3查询目标内容部门小圈子详情(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryTargetContDeptSmallCircleDetailComRespDto queryTargetContDeptSmallCircleDetailCom(QueryTargetContDeptSmallCircleDetailComReqDto reqDto){


      OmsVirtualOrgMemberDept omsVirtualOrgMemberDept_1 =null;
//步骤0: 3-6-03查询目标内容部门小圈子详情 - queryTargetContDeptSmallCircleDetail
     OmsVirtualOrgMemberDept omsVirtualOrgMemberDept = null;
    QueryTargetContDeptSmallCircleDetailReq queryTargetContDeptSmallCircleDetailReq=new QueryTargetContDeptSmallCircleDetailReq();
  if(reqDto!=null){
      queryTargetContDeptSmallCircleDetailReq.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1695578_1
queryTargetContDeptSmallCircleDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1695595_1
queryTargetContDeptSmallCircleDetailReq.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1695579_1
queryTargetContDeptSmallCircleDetailReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1695580_1
queryTargetContDeptSmallCircleDetailReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1695581_1
    }

    /*3-6-03查询目标内容部门小圈子详情[9248]   */
    Assert.isNull(queryTargetContDeptSmallCircleDetailReq.getSpaceId(),"D3查询目标内容部门小圈子详情(公共)-3-6-03查询目标内容部门小圈子详情-创建于空间ID不能为空",false);
      omsVirtualOrgMemberDept = mOmsVirtualOrgMemberDeptService.queryTargetContDeptSmallCircleDetail(queryTargetContDeptSmallCircleDetailReq)/*vcase invoke 本地 method 方法调用;*/;


      omsVirtualOrgMemberDept_1 = omsVirtualOrgMemberDept;

QueryTargetContDeptSmallCircleDetailComRespDto retData = new QueryTargetContDeptSmallCircleDetailComRespDto();
  if(omsVirtualOrgMemberDept_1!=null){
      retData.setVirtualOrgMemberDeptId(omsVirtualOrgMemberDept_1.getVirtualOrgMemberDeptId());//SimpleFieldAssign//sourceId:1695586_1
retData.setVirtualOrgId(omsVirtualOrgMemberDept_1.getVirtualOrgId());//SimpleFieldAssign//sourceId:1695587_1
retData.setDeptType(omsVirtualOrgMemberDept_1.getDeptType());//SimpleFieldAssign//sourceId:1695588_1
retData.setDeptId(omsVirtualOrgMemberDept_1.getDeptId());//SimpleFieldAssign//sourceId:1695589_1
    }




return retData;
  }
/**
   * D3查询目标内容成员小圈子详情(公共)[9251]
   * gen by moon at 4/28/2024, 6:30:35 PM
   */
  @Trace(operationName = "D3查询目标内容成员小圈子详情(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryTargetContMemberSmallCircleDetailComRespDto queryTargetContMemberSmallCircleDetailCom(QueryTargetContMemberSmallCircleDetailComReqDto reqDto){


      OmsVirtualOrgMember omsVirtualOrgMember_1 =null;
//步骤0: 3-6-02查询目标内容成员小圈子详情 - queryTargetContMemberSmallCircleDetail
     OmsVirtualOrgMember omsVirtualOrgMember = null;
    QueryTargetContMemberSmallCircleDetailReq queryTargetContMemberSmallCircleDetailReq=new QueryTargetContMemberSmallCircleDetailReq();
  if(reqDto!=null){
      queryTargetContMemberSmallCircleDetailReq.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1695677_1
queryTargetContMemberSmallCircleDetailReq.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:1761581_1
queryTargetContMemberSmallCircleDetailReq.setIsPersonCharge(reqDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:1695678_1
queryTargetContMemberSmallCircleDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1695679_1
queryTargetContMemberSmallCircleDetailReq.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1695680_1
queryTargetContMemberSmallCircleDetailReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1695681_1
queryTargetContMemberSmallCircleDetailReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1695682_1
    }

    /*3-6-02查询目标内容成员小圈子详情[9250]   */
    Assert.isNull(queryTargetContMemberSmallCircleDetailReq.getSpaceId(),"D3查询目标内容成员小圈子详情(公共)-3-6-02查询目标内容成员小圈子详情-创建于空间ID不能为空",false);
      omsVirtualOrgMember = mOmsVirtualOrgMemberService.queryTargetContMemberSmallCircleDetail(queryTargetContMemberSmallCircleDetailReq)/*vcase invoke 本地 method 方法调用;*/;


      omsVirtualOrgMember_1 = omsVirtualOrgMember;

QueryTargetContMemberSmallCircleDetailComRespDto retData = new QueryTargetContMemberSmallCircleDetailComRespDto();
  if(omsVirtualOrgMember_1!=null){
      retData.setVirtualOrgMemberId(omsVirtualOrgMember_1.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1695694_1
retData.setVirtualOrgId(omsVirtualOrgMember_1.getVirtualOrgId());//SimpleFieldAssign//sourceId:1695695_1
retData.setVirtualOrgInductionRecordId(omsVirtualOrgMember_1.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1695696_1
retData.setOriginalRoleMemberId(omsVirtualOrgMember_1.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1695697_1
retData.setUserId(omsVirtualOrgMember_1.getUserId());//SimpleFieldAssign//sourceId:1695698_1
retData.setRoleCode(omsVirtualOrgMember_1.getRoleCode());//SimpleFieldAssign//sourceId:1761584_1
    }




return retData;
  }
/**
   * D3查询当前指标相关部门(公共)[9335]
   * gen by moon at 4/7/2024, 9:38:58 AM
   */
  @Trace(operationName = "D3查询当前指标相关部门(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryCurObjectiveRelateDeptDetailComRespDto queryCurObjectiveRelateDeptDetailCom(QueryCurObjectiveRelateDeptDetailComReqDto reqDto){


      ImplementEightReceivingFieldRespDto receptionServiceRes_1 =null;
ImplementEightReceivingFieldRespDto receptionServiceRes_3 =null;
//virtualUsage 3-3-03查指标详情：一级指标ID  66343
      OmsTargetObjective omsTargetObjective = null;
    QueryTargetObjDetailReq queryTargetObjDetailReq=new QueryTargetObjDetailReq();
  queryTargetObjDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1706998_1_66343
if(reqDto!=null){
      queryTargetObjDetailReq.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:1706984_1_66343
queryTargetObjDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1707030_1_66343
    }

    /*3-3-03查指标详情：一级指标ID[2697]   */
    Assert.isNull(queryTargetObjDetailReq.getObjectiveId(),"D3查询当前指标相关部门(公共)-3-3-03查指标详情：一级指标ID-指标ID不能为空",false);
Assert.isNull(queryTargetObjDetailReq.getEvaluationTemplateId(),"D3查询当前指标相关部门(公共)-3-3-03查指标详情：一级指标ID-冗余评价模板ID不能为空",false);
Assert.isNull(queryTargetObjDetailReq.getSubjectLifeCycle(),"D3查询当前指标相关部门(公共)-3-3-03查指标详情：一级指标ID-主体生命周期不能为空",false);
      omsTargetObjective = mOmsTargetObjectiveService.queryTargetObjDetail(queryTargetObjDetailReq)/*vcase invoke 本地 method 方法调用;*/;



//virtualUsage 3-3-05查当前指标：责任主体类型  66344
      OmsTargetObjectivePlanExtend omsTargetObjectivePlanExtend = null;
    QueryTargetObjPlanExDetailReq queryTargetObjPlanExDetailReq=new QueryTargetObjPlanExDetailReq();
  queryTargetObjPlanExDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1707048_1_66344
if(reqDto!=null){
      queryTargetObjPlanExDetailReq.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:1707042_1_66344
queryTargetObjPlanExDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1707063_1_66344
    }

    /*3-3-05查当前指标：责任主体类型[2725]   */
    Assert.isNull(queryTargetObjPlanExDetailReq.getObjectiveId(),"D3查询当前指标相关部门(公共)-3-3-05查当前指标：责任主体类型-归属指标ID不能为空",false);
Assert.isNull(queryTargetObjPlanExDetailReq.getSubjectLifeCycle(),"D3查询当前指标相关部门(公共)-3-3-05查当前指标：责任主体类型-主体生命周期不能为空",false);
Assert.isNull(queryTargetObjPlanExDetailReq.getEvaluationTemplateId(),"D3查询当前指标相关部门(公共)-3-3-05查当前指标：责任主体类型-冗余评价模板ID不能为空",false);
      omsTargetObjectivePlanExtend = mOmsTargetObjectivePlanExtendService.queryTargetObjPlanExDetail(queryTargetObjPlanExDetailReq)/*vcase invoke 本地 method 方法调用;*/;



//virtualUsage D3查询一级指标牵头部门  66345
      QueryTargetContDeptSmallCircleDetailComRespDto queryTargetContDeptSmallCircleDetailComRespDto = null;
    if(omsTargetObjective !=null){
          QueryTargetContDeptSmallCircleDetailComReqDto queryTargetContDeptSmallCircleDetailComReqDto=new QueryTargetContDeptSmallCircleDetailComReqDto();
  queryTargetContDeptSmallCircleDetailComReqDto.setUseScene("TARGET_PLAN_SCENE");//sourceId:1707091_1_66345
queryTargetContDeptSmallCircleDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1707092_1_66345
if(omsTargetObjective!=null){
      queryTargetContDeptSmallCircleDetailComReqDto.setEntityId(omsTargetObjective.getRootObjectiveId());//SimpleFieldAssign//sourceId:1707090_1_66345
    }
if(reqDto!=null){
      queryTargetContDeptSmallCircleDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1707098_1_66345
queryTargetContDeptSmallCircleDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1707093_1_66345
    }

    /*D3查询一级指标牵头部门[9249]   */
    Assert.isNull(queryTargetContDeptSmallCircleDetailComReqDto.getEntityId(),"D3查询当前指标相关部门(公共)-D3查询一级指标牵头部门-冗余内容表主键ID不能为空",false);
Assert.isNull(queryTargetContDeptSmallCircleDetailComReqDto.getEvaluationTemplateId(),"D3查询当前指标相关部门(公共)-D3查询一级指标牵头部门-归属对象ID不能为空",false);
Assert.isNull(queryTargetContDeptSmallCircleDetailComReqDto.getUseScene(),"D3查询当前指标相关部门(公共)-D3查询一级指标牵头部门-虚拟组织使用场景不能为空",false);
Assert.isNull(queryTargetContDeptSmallCircleDetailComReqDto.getSubjectLifeCycle(),"D3查询当前指标相关部门(公共)-D3查询一级指标牵头部门-主体生命周期不能为空",false);
Assert.isNull(queryTargetContDeptSmallCircleDetailComReqDto.getSpaceId(),"D3查询当前指标相关部门(公共)-D3查询一级指标牵头部门-创建于空间ID不能为空",false);
      queryTargetContDeptSmallCircleDetailComRespDto = queryTargetContDeptSmallCircleDetailCom(queryTargetContDeptSmallCircleDetailComReqDto)/*vcase invoke 同服务,同domain*/;



           }
//virtualUsage M3接收业绩责任一级部门ID  66354
      //ModelCode: receptionService
        ImplementEightReceivingFieldRespDto receptionServiceRes = null;
    if(queryTargetContDeptSmallCircleDetailComRespDto !=null){
          ImplementEightReceivingFieldReqDto receptionServiceReq=new ImplementEightReceivingFieldReqDto();
  if(queryTargetContDeptSmallCircleDetailComRespDto!=null){
      receptionServiceReq.setDutyDeptId(queryTargetContDeptSmallCircleDetailComRespDto.getDeptId());//SimpleFieldAssign//sourceId:1708131_1_66354
    }

    /*M3接收业绩责任一级部门ID[8691]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbSmallCircleCommon.implementEightReceivingField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
if((omsTargetObjectivePlanExtend!= null&&  omsTargetObjectivePlanExtend.getRespBodyType() !=null && omsTargetObjectivePlanExtend.getRespBodyType().equals("DEPT"))) {
        //if(3-3-05查当前指标：责任主体类型.责任主体类型 等于 部门)  66346

QueryTargetContDeptSmallCircleDetailComRespDto queryTargetContDeptSmallCircleDetailComRespDto_2 = null;
    QueryTargetContDeptSmallCircleDetailComReqDto queryTargetContDeptSmallCircleDetailComReqDto_1=new QueryTargetContDeptSmallCircleDetailComReqDto();
  queryTargetContDeptSmallCircleDetailComReqDto_1.setUseScene("TARGET_PLAN_SCENE");//sourceId:1707091_1_66348
queryTargetContDeptSmallCircleDetailComReqDto_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1707092_1_66348
if(reqDto!=null){
      queryTargetContDeptSmallCircleDetailComReqDto_1.setEntityId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:1707090_1_66348
queryTargetContDeptSmallCircleDetailComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1707098_1_66348
queryTargetContDeptSmallCircleDetailComReqDto_1.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1707093_1_66348
    }

    /*D3查询一级指标牵头部门[9249]   */
    Assert.isNull(queryTargetContDeptSmallCircleDetailComReqDto_1.getEntityId(),"D3查询当前指标相关部门(公共)-D3查询一级指标牵头部门-冗余内容表主键ID不能为空",false);
Assert.isNull(queryTargetContDeptSmallCircleDetailComReqDto_1.getEvaluationTemplateId(),"D3查询当前指标相关部门(公共)-D3查询一级指标牵头部门-归属对象ID不能为空",false);
Assert.isNull(queryTargetContDeptSmallCircleDetailComReqDto_1.getUseScene(),"D3查询当前指标相关部门(公共)-D3查询一级指标牵头部门-虚拟组织使用场景不能为空",false);
Assert.isNull(queryTargetContDeptSmallCircleDetailComReqDto_1.getSubjectLifeCycle(),"D3查询当前指标相关部门(公共)-D3查询一级指标牵头部门-主体生命周期不能为空",false);
Assert.isNull(queryTargetContDeptSmallCircleDetailComReqDto_1.getSpaceId(),"D3查询当前指标相关部门(公共)-D3查询一级指标牵头部门-创建于空间ID不能为空",false);
      queryTargetContDeptSmallCircleDetailComRespDto_2 = queryTargetContDeptSmallCircleDetailCom(queryTargetContDeptSmallCircleDetailComReqDto_1)/*vcase invoke 同服务,同domain*/;



//ModelCode: receptionService
        ImplementEightReceivingFieldRespDto receptionServiceRes_2 = null;
    if(queryTargetContDeptSmallCircleDetailComRespDto_2 !=null){
          ImplementEightReceivingFieldReqDto receptionServiceReq_1=new ImplementEightReceivingFieldReqDto();
  if(queryTargetContDeptSmallCircleDetailComRespDto_2!=null){
      receptionServiceReq_1.setCopyrightObjectId(queryTargetContDeptSmallCircleDetailComRespDto_2.getDeptId());//SimpleFieldAssign//sourceId:1707889_1_66355
    }

    /*M3接收版权归属对象ID[8691]  用于特殊方法接收上游入参。 */

      receptionServiceRes_2 = nbSmallCircleCommon.implementEightReceivingField(receptionServiceReq_1);


      receptionServiceRes_3 = receptionServiceRes_2;
           }
      }
else if((omsTargetObjectivePlanExtend!= null&&  omsTargetObjectivePlanExtend.getRespBodyType() !=null && omsTargetObjectivePlanExtend.getRespBodyType().equals("PERSONAL"))){
       //elseif(3-3-05查当前指标：责任主体类型.责任主体类型 等于 个人)  66347

QueryTargetContMemberSmallCircleDetailComRespDto queryTargetContMemberSmallCircleDetailComRespDto = null;
    QueryTargetContMemberSmallCircleDetailComReqDto queryTargetContMemberSmallCircleDetailComReqDto=new QueryTargetContMemberSmallCircleDetailComReqDto();
  queryTargetContMemberSmallCircleDetailComReqDto.setIsPersonCharge("TRUE");//sourceId:1707390_1_66349
queryTargetContMemberSmallCircleDetailComReqDto.setUseScene("TARGET_PLAN_SCENE");//sourceId:1707392_1_66349
queryTargetContMemberSmallCircleDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1707393_1_66349
if(reqDto!=null){
      queryTargetContMemberSmallCircleDetailComReqDto.setEntityId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:1707389_1_66349
queryTargetContMemberSmallCircleDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1707391_1_66349
queryTargetContMemberSmallCircleDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1707394_1_66349
    }

    /*D3查询负责人小圈子[9251]   */
    Assert.isNull(queryTargetContMemberSmallCircleDetailComReqDto.getEntityId(),"D3查询当前指标相关部门(公共)-D3查询负责人小圈子-冗余内容表主键ID不能为空",false);
Assert.isNull(queryTargetContMemberSmallCircleDetailComReqDto.getEvaluationTemplateId(),"D3查询当前指标相关部门(公共)-D3查询负责人小圈子-归属对象ID不能为空",false);
Assert.isNull(queryTargetContMemberSmallCircleDetailComReqDto.getIsPersonCharge(),"D3查询当前指标相关部门(公共)-D3查询负责人小圈子-是否负责人不能为空",false);
Assert.isNull(queryTargetContMemberSmallCircleDetailComReqDto.getUseScene(),"D3查询当前指标相关部门(公共)-D3查询负责人小圈子-虚拟组织使用场景不能为空",false);
Assert.isNull(queryTargetContMemberSmallCircleDetailComReqDto.getSubjectLifeCycle(),"D3查询当前指标相关部门(公共)-D3查询负责人小圈子-主体生命周期不能为空",false);
Assert.isNull(queryTargetContMemberSmallCircleDetailComReqDto.getSpaceId(),"D3查询当前指标相关部门(公共)-D3查询负责人小圈子-创建于空间ID不能为空",false);
      queryTargetContMemberSmallCircleDetailComRespDto = queryTargetContMemberSmallCircleDetailCom(queryTargetContMemberSmallCircleDetailComReqDto)/*vcase invoke 同服务,同domain*/;



QuerySingleInductionRecordIdDetailComRespDto querySingleInductionRecordIdDetailComRespDto = null;
    if(queryTargetContMemberSmallCircleDetailComRespDto !=null){
          QuerySingleInductionRecordIdDetailComReqDto querySingleInductionRecordIdDetailComReqDto=new QuerySingleInductionRecordIdDetailComReqDto();
  if(queryTargetContMemberSmallCircleDetailComRespDto!=null){
      querySingleInductionRecordIdDetailComReqDto.setInductionRecordId(queryTargetContMemberSmallCircleDetailComRespDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1707403_1_66350
    }

    /*D1-3查询就职记录：就职部门ID[4306]   */
    Assert.isNull(querySingleInductionRecordIdDetailComReqDto.getInductionRecordId(),"D3查询当前指标相关部门(公共)-D1-3查询就职记录：就职部门ID-就职记录ID不能为空",false);
      querySingleInductionRecordIdDetailComRespDto = fwBaseSystemTestDomainClient.querySingleInductionRecordIdDetailCom(querySingleInductionRecordIdDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



           }
//ModelCode: receptionService
        ImplementEightReceivingFieldRespDto receptionServiceRes_4 = null;
    if(querySingleInductionRecordIdDetailComRespDto !=null){
          ImplementEightReceivingFieldReqDto receptionServiceReq_2=new ImplementEightReceivingFieldReqDto();
  if(querySingleInductionRecordIdDetailComRespDto!=null){
      receptionServiceReq_2.setCopyrightObjectId(querySingleInductionRecordIdDetailComRespDto.getEntityId());//SimpleFieldAssign//sourceId:1707889_1_66356
    }

    /*M3接收版权归属对象ID[8691]  用于特殊方法接收上游入参。 */

      receptionServiceRes_4 = nbSmallCircleCommon.implementEightReceivingField(receptionServiceReq_2);


      receptionServiceRes_3 = receptionServiceRes_4;
           }
    }
QueryCurObjectiveRelateDeptDetailComRespDto retData = new QueryCurObjectiveRelateDeptDetailComRespDto();
  if(receptionServiceRes_3!=null){
      retData.setCopyrightObjectId(receptionServiceRes_3.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1708135_1
    }
if(receptionServiceRes_1!=null){
      retData.setDutyDeptId(receptionServiceRes_1.getDutyDeptId());//SimpleFieldAssign//sourceId:1708136_1
    }




return retData;
  }
/**
   * D3查询目标内容部门小圈子列表(公共)[9346]
   * gen by moon at 8/10/2024, 9:44:30 PM
   */
  @Trace(operationName = "D3查询目标内容部门小圈子列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryTargetContDeptSmallCircleListComRespDto queryTargetContDeptSmallCircleListCom(QueryTargetContDeptSmallCircleListComReqDto reqDto){


      List<OmsVirtualOrgMemberDept> listOmsVirtualOrgMemberDept_1 =new ArrayList<>();
//步骤0: 3-6-03查询目标内容部门小圈子列表 - queryTargetContDeptSmallCircleList
     List<OmsVirtualOrgMemberDept> listOmsVirtualOrgMemberDept =new ArrayList<>();
    QueryTargetContDeptSmallCircleListReq queryTargetContDeptSmallCircleListReq=new QueryTargetContDeptSmallCircleListReq();
  if(reqDto!=null){
      queryTargetContDeptSmallCircleListReq.setDeptType(reqDto.getDeptType());//SimpleFieldAssign//sourceId:1709481_1
queryTargetContDeptSmallCircleListReq.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1709482_1
queryTargetContDeptSmallCircleListReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1709483_1
queryTargetContDeptSmallCircleListReq.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1966880_1
queryTargetContDeptSmallCircleListReq.setIsLast(reqDto.getIsLast());//SimpleFieldAssign//sourceId:1966881_1
queryTargetContDeptSmallCircleListReq.setLevelNumber(reqDto.getLevelNumber());//SimpleFieldAssign//sourceId:1966882_1
queryTargetContDeptSmallCircleListReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1709484_1
queryTargetContDeptSmallCircleListReq.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1709485_1
queryTargetContDeptSmallCircleListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1709486_1
queryTargetContDeptSmallCircleListReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1709487_1
    }

    /*3-6-03查询目标内容部门小圈子列表[9347]   */

      listOmsVirtualOrgMemberDept = mOmsVirtualOrgMemberDeptService.queryTargetContDeptSmallCircleList(queryTargetContDeptSmallCircleListReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsVirtualOrgMemberDept_1 = listOmsVirtualOrgMemberDept;

QueryTargetContDeptSmallCircleListComRespDto retData = new QueryTargetContDeptSmallCircleListComRespDto();
  retData.setVirtualOrgMemberDeptList(listOmsVirtualOrgMemberDept_1.stream().map(item -> BeanUtil.toBean(item, VirtualOrgMemberDeptDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1709496_1




return retData;
  }
/**
   * D3分析身份人员问题小圈子(公共)[10049]
   * gen by moon at 7/25/2024, 2:05:28 AM
   */
  @Trace(operationName = "D3分析身份人员问题小圈子(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AnalysisRoleMemberQuestionSmallCircleComRespDto analysisRoleMemberQuestionSmallCircleCom(AnalysisRoleMemberQuestionSmallCircleComReqDto reqDto){


      ImplementElevenReceivingFieldRespDto receptionServiceRes_1 =null;
if((reqDto!= null&&  reqDto.getIsPersonCharge() !=null && reqDto.getIsPersonCharge().equals("TRUE")&&reqDto!= null&& reqDto.getRoleCode() == null )) {
        //if((D3分析身份人员问题小圈子(公共).是否负责人 等于 是 and D3分析身份人员问题小圈子(公共).角色标识 值等于空 ))  71968

QueryIdentitySmallCircleListComRespDto queryIdentitySmallCircleListComRespDto = null;
    QueryIdentitySmallCircleListComReqDto queryIdentitySmallCircleListComReqDto=new QueryIdentitySmallCircleListComReqDto();
  queryIdentitySmallCircleListComReqDto.setTableTypeCode("OMS_QUESTION");//sourceId:1955187_1_71971
queryIdentitySmallCircleListComReqDto.setUseScene("WORK_TASK_SCENE");//sourceId:1955182_1_71971
queryIdentitySmallCircleListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1955185_1_71971
if(reqDto!=null){
      queryIdentitySmallCircleListComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1955179_1_71971
queryIdentitySmallCircleListComReqDto.setIsPersonCharge(reqDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:1955180_1_71971
queryIdentitySmallCircleListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1955191_1_71971
    }

    /*D3查询我身份所在小圈子列表(公共)[8803]   */
    Assert.isNull(queryIdentitySmallCircleListComReqDto.getOriginalRoleMemberId(),"D3分析身份人员问题小圈子(公共)-D3查询我身份所在小圈子列表(公共)-身份人员ID不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getIsPersonCharge(),"D3分析身份人员问题小圈子(公共)-D3查询我身份所在小圈子列表(公共)-是否负责人不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getTableTypeCode(),"D3分析身份人员问题小圈子(公共)-D3查询我身份所在小圈子列表(公共)-冗余内容表类型编码不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getUseScene(),"D3分析身份人员问题小圈子(公共)-D3查询我身份所在小圈子列表(公共)-虚拟组织使用场景不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getSubjectLifeCycle(),"D3分析身份人员问题小圈子(公共)-D3查询我身份所在小圈子列表(公共)-主体生命周期不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getSpaceId(),"D3分析身份人员问题小圈子(公共)-D3查询我身份所在小圈子列表(公共)-创建于空间ID不能为空",false);
      queryIdentitySmallCircleListComRespDto = queryIdentitySmallCircleListCom(queryIdentitySmallCircleListComReqDto)/*vcase invoke 同服务,同domain*/;



//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes = null;
    if(queryIdentitySmallCircleListComRespDto !=null){
          ImplementElevenReceivingFieldReqDto receptionServiceReq=new ImplementElevenReceivingFieldReqDto();
  if(queryIdentitySmallCircleListComRespDto!= null&&  queryIdentitySmallCircleListComRespDto.getVirtualOrgMemberList() !=null&& !CollectionUtil.isEmpty(queryIdentitySmallCircleListComRespDto.getVirtualOrgMemberList())){
      receptionServiceReq.setQuestionList(queryIdentitySmallCircleListComRespDto.getVirtualOrgMemberList().stream().map(item->item.getEntityId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1956008_1_71975
    }

    /*M3接收问题列表出参[9482]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbSmallCircleCommon.implementElevenReceivingField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
else if((reqDto!= null&&  reqDto.getRoleCode() !=null && reqDto.getRoleCode().equals("DIRECTOR")&&reqDto!= null&& reqDto.getIsPersonCharge() == null )){
       //elseif((D3分析身份人员问题小圈子(公共).角色标识 等于 主管 and D3分析身份人员问题小圈子(公共).是否负责人 值等于空 ))  71969

QueryDirectorSubInateInductionRecordListComRespDto queryDirectorSubInateInductionRecordListComRespDto = null;
    QueryDirectorSubInateInductionRecordListComReqDto queryDirectorSubInateInductionRecordListComReqDto=new QueryDirectorSubInateInductionRecordListComReqDto();
  if(reqDto!=null){
      queryDirectorSubInateInductionRecordListComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1955580_1_71972
    }

    /*D1查询主管下属就职记录列表(公共)[10052]   */
    Assert.isNull(queryDirectorSubInateInductionRecordListComReqDto.getOriginalRoleMemberId(),"D3分析身份人员问题小圈子(公共)-D1查询主管下属就职记录列表(公共)-身份人员ID不能为空",false);
      queryDirectorSubInateInductionRecordListComRespDto = fwBaseDashboardOrgClient.queryDirectorSubInateInductionRecordListCom(queryDirectorSubInateInductionRecordListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



BatchQueryWorkSceneGroupsComRespDto batchQueryWorkSceneGroupsComRespDto = null;
    if(queryDirectorSubInateInductionRecordListComRespDto !=null){
          BatchQueryWorkSceneGroupsComReqDto batchQueryWorkSceneGroupsComReqDto=new BatchQueryWorkSceneGroupsComReqDto();
  batchQueryWorkSceneGroupsComReqDto.setIsPersonCharge("TRUE");//sourceId:1955587_1_71973
batchQueryWorkSceneGroupsComReqDto.setTableTypeCode("OMS_QUESTION");//sourceId:1955588_1_71973
batchQueryWorkSceneGroupsComReqDto.setUseScene("WORK_TASK_SCENE");//sourceId:1955589_1_71973
batchQueryWorkSceneGroupsComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1955591_1_71973
if(queryDirectorSubInateInductionRecordListComRespDto!= null&&  queryDirectorSubInateInductionRecordListComRespDto.getOrgInductionRecordList() !=null&& !CollectionUtil.isEmpty(queryDirectorSubInateInductionRecordListComRespDto.getOrgInductionRecordList())){
      batchQueryWorkSceneGroupsComReqDto.setVirtualOrgMemberList(queryDirectorSubInateInductionRecordListComRespDto.getOrgInductionRecordList().stream().map(item->item.getInductionRecordId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1955582_1_71973
    }

    /*D3批量查主管下属问题小圈子列表(公共)[8050]   */
    Assert.isNull(batchQueryWorkSceneGroupsComReqDto.getIsPersonCharge(),"D3分析身份人员问题小圈子(公共)-D3批量查主管下属问题小圈子列表(公共)-是否负责人不能为空",false);
Assert.isNull(batchQueryWorkSceneGroupsComReqDto.getTableTypeCode(),"D3分析身份人员问题小圈子(公共)-D3批量查主管下属问题小圈子列表(公共)-冗余内容表类型编码不能为空",false);
Assert.isNull(batchQueryWorkSceneGroupsComReqDto.getUseScene(),"D3分析身份人员问题小圈子(公共)-D3批量查主管下属问题小圈子列表(公共)-虚拟组织使用场景不能为空",false);
Assert.isNull(batchQueryWorkSceneGroupsComReqDto.getSubjectLifeCycle(),"D3分析身份人员问题小圈子(公共)-D3批量查主管下属问题小圈子列表(公共)-主体生命周期不能为空",false);
      batchQueryWorkSceneGroupsComRespDto = virtualOrgService.batchQueryWorkSceneGroupsCom(batchQueryWorkSceneGroupsComReqDto)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_2 = null;
    if(batchQueryWorkSceneGroupsComRespDto !=null){
          ImplementElevenReceivingFieldReqDto receptionServiceReq_1=new ImplementElevenReceivingFieldReqDto();
  if(batchQueryWorkSceneGroupsComRespDto!= null&&  batchQueryWorkSceneGroupsComRespDto.getVirtualOrgMemberList() !=null&& !CollectionUtil.isEmpty(batchQueryWorkSceneGroupsComRespDto.getVirtualOrgMemberList())){
      receptionServiceReq_1.setQuestionList(batchQueryWorkSceneGroupsComRespDto.getVirtualOrgMemberList().stream().map(item->item.getEntityId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1956008_1_71976
    }

    /*M3接收问题列表出参[9482]  用于特殊方法接收上游入参。 */

      receptionServiceRes_2 = nbSmallCircleCommon.implementElevenReceivingField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
           }
    }
else if((reqDto!= null&&  reqDto.getRoleCode() !=null && reqDto.getRoleCode().equals("DEPT_LEADER")&&reqDto!= null&& reqDto.getIsPersonCharge() == null )){
       //elseif((D3分析身份人员问题小圈子(公共).角色标识 等于 分管领导 and D3分析身份人员问题小圈子(公共).是否负责人 值等于空 ))  71970

BatchQueryProblemComRespDto batchQueryProblemComRespDto = null;
    BatchQueryProblemComReqDto batchQueryProblemComReqDto=new BatchQueryProblemComReqDto();
  batchQueryProblemComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1955602_1_71974
if(reqDto!=null){
      batchQueryProblemComReqDto.setQuestionList(reqDto.getWorkTaskList());//list-field-assign//sourceId:1955599_1_71974
batchQueryProblemComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1955603_1_71974
    }

    /*D3批量查询分管领导的分管的工作任务下问题列表(公共)[8885]   */
    Assert.isNull(batchQueryProblemComReqDto.getSubjectLifeCycle(),"D3分析身份人员问题小圈子(公共)-D3批量查询分管领导的分管的工作任务下问题列表(公共)-主体生命周期不能为空",false);
Assert.isNull(batchQueryProblemComReqDto.getSpaceId(),"D3分析身份人员问题小圈子(公共)-D3批量查询分管领导的分管的工作任务下问题列表(公共)-创建于空间ID不能为空",false);
      batchQueryProblemComRespDto = dashboardTargetContentService.batchQueryProblemCom(batchQueryProblemComReqDto)/*vcase invoke isSameApp*/;



//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_3 = null;
    if(batchQueryProblemComRespDto !=null){
          ImplementElevenReceivingFieldReqDto receptionServiceReq_2=new ImplementElevenReceivingFieldReqDto();
  if(batchQueryProblemComRespDto!= null&&  batchQueryProblemComRespDto.getQuestionList() !=null&& !CollectionUtil.isEmpty(batchQueryProblemComRespDto.getQuestionList())){
      receptionServiceReq_2.setQuestionList(batchQueryProblemComRespDto.getQuestionList().stream().map(item->item.getQuestionId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1956008_1_71977
    }

    /*M3接收问题列表出参[9482]  用于特殊方法接收上游入参。 */

      receptionServiceRes_3 = nbSmallCircleCommon.implementElevenReceivingField(receptionServiceReq_2);


      receptionServiceRes_1 = receptionServiceRes_3;
           }
    }
AnalysisRoleMemberQuestionSmallCircleComRespDto retData = new AnalysisRoleMemberQuestionSmallCircleComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setQuestionList(receptionServiceRes_1.getQuestionList());//list-field-assign//sourceId:1956015_1
    }




return retData;
  }
  //
}
